upload several records in a pdf

0

good as I can load 50 or even more records and that those 50 records are displayed in a pdf, I only do it with a row for only 1 record but this time are for several, what I do not want is to be one by one putting him for example

$pdf->Text(10,10,$data[0].fecha_inicio);
$pdf->Text(15,10,$data[0].nombre);
$pdf->Text(10,15,$data[1].fecha_inicio);

What I do not know is how to give the coordinates so that the records that fit on a single sheet are aligned and not all on top of each other, and when moving to another sheet as they are well, I know that bootstrap already exists in tables already exported to pdf is predefined but this time I want to do it in code.

    
asked by Juan Jose 15.10.2018 в 00:58
source

0 answers