Jump to content

fpdf php


DrTrans

Recommended Posts

Ok im trying to make the following maybe someone here can assist.

 

 

<td><b><center><font color=\"white\">Applicant Detail</center></font></b></td>

</table>

<b>Name: $fullname ( $fname, $lname ) <br>

<b>Address: $addy<br>

<b>City: $city State: $state    Zip: $zip<br>

 

 

 

Basically what i want to do is make the system spit out a pdf  of that information..

 

 

$pdf=new FPDF();

$pdf->AddPage();

$pdf->SetFont('Arial','B',16);

$pdf->Cell(40,10,'Appplication',1,1,'C');

$pdf->text($fullname);

$pdf->Output('c:\printapp\test1.pdf');

[/php/ I also want to be able to save the file as the $firstname-$lastname.pdf  i cant figure this out. can someone please assist me with the line breaks and getting it formatted correctly. Thanks

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/201506-fpdf-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.