嗨,先生,我需要有关如何使用多单元格使数组内的数据位于 textWrap 中的帮助
这是我的代码
foreach($data as $row){ //CGANHE THIS ACCORDING TO HEADER
$this->Cell($w[0],4,$row[0],'LR',0,'C',$fill);
$this->SetFont('');
$this->Cell($w[1],4,$row[1],'LR',0,'C',$fill);
$this->SetFont('');
$this->Cell($w[2],4,$row[2],'LR',0,'R',$fill);
$this->SetFont('');
$this->Cell($w[3],4,$row[3],'LR',0,'R',$fill);
$this->SetFont('');
$this->Cell($w[4],4,$row[4],'LR',0,'R',$fill);
$this->SetFont('');
$this->Ln();
$fill =! $fill;
}
$this->Cell(array_sum($w),0,'','T');
$this->Ln(50);
$this->Ln(50);
}
}
非常需要帮助非常Tnx 这真的让我发疯了,所以如果有人有任何想法,我将不胜感激。