CodeIgniter Forums
PDF file from array - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: PDF file from array (/thread-41713.html)



PDF file from array - El Forum - 05-15-2011

[eluser]Sudz[/eluser]
hi buddy,
I want to write pdf file using associative array
how can i do this?
Any example.


PDF file from array - El Forum - 05-15-2011

[eluser]ddutra[/eluser]
Hey,

Dont really understand the Array > PDF thing, but if you want to write PDF files you best bet would be to get a PDF class working. I have a project in wich i use advanced pdf writing, i use the domPDF class wich writes pdf files from html marking. It has alot of limitations and you need to learn to write html like its 1999 but its a very good and easy to use class.

There is even a CI library that helps glue the class to CI.

Do a search and good luck.

Best regards.