现在我使用TCPDF
为每个人每页生成动态工资单。现在我想使用 TCPDF
、 PHP
每页生成3
工资单。请帮助我。
您需要添加到循环中:
for($x=0; $x<count($records); $x++ ) {
if( mod(x,3) == 0 ) pdf->addPage();
//--- do pdf stuff
}
现在我使用TCPDF
为每个人每页生成动态工资单。现在我想使用 TCPDF
、 PHP
每页生成3
工资单。请帮助我。
您需要添加到循环中:
for($x=0; $x<count($records); $x++ ) {
if( mod(x,3) == 0 ) pdf->addPage();
//--- do pdf stuff
}