I'm doing a report in php with fpdf and I want to turn the page in order to add more fields.
How can I make it so that when it is generated automatically I can make the turn and show it to me horizontally?
I'm doing a report in php with fpdf and I want to turn the page in order to add more fields.
How can I make it so that when it is generated automatically I can make the turn and show it to me horizontally?
If you are using the constructor you should place it in the parameters as follows:
FPDF([string orientación [, string unidad [, mixed formato]]);
or like this:
$pdf=new FPDF('P', 'mm', '300, 200');
since it is so vertical:
$pdf=new PDF('P', 'mm', '200, 300');