GrayFox12 Posted October 15, 2008 Share Posted October 15, 2008 Hey guys I wanting to know how to populate fields of a pdf file with the info from a record in mysql? Any help would be much appretiated. Grayfox Link to comment https://forums.phpfreaks.com/topic/128624-populate-pdf-file-with-record-from-mysql-database/ Share on other sites More sharing options...
cleary1981 Posted October 16, 2008 Share Posted October 16, 2008 Hi, I am in the same boat as yourself. You will need to use php to extract the information from your database into an xml file. Once you have created your xml you will need to download and install an XSL FO tool. I am using apache FOP. This let you create a pdf document by applying an XSL stylesheet to your XML. Heres a few links that I found useful http://www.kirupa.com/web/mysql_xml_php.htm (use php to create xml) http://www.xml.com/pub/a/2001/01/17/xsl-fo/index.html http://xmlgraphics.apache.org/fop/quickstartguide.html Link to comment https://forums.phpfreaks.com/topic/128624-populate-pdf-file-with-record-from-mysql-database/#findComment-666867 Share on other sites More sharing options...
xtopolis Posted October 16, 2008 Share Posted October 16, 2008 "PHP PDF" http://us.php.net/pdf Looks like a lot of useful functions there. Link to comment https://forums.phpfreaks.com/topic/128624-populate-pdf-file-with-record-from-mysql-database/#findComment-667592 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.