CodeIgniter Forums

Full Version: generate pdf
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]diasansley[/eluser]
I have the following idea




*I have some text in the database now on my CI website i have given anchor tag to read the text from the database.
* as a refinement a wanted the text to be in a pdf and on button on my main page show the first page of the pdf and then give a download option!

Any ideas!!!


Thanks

El Forum

[eluser]keithics[/eluser]
use http://code.google.com/p/dompdf/ . I found that it's easy to create PDF using that..

El Forum

[eluser]diasansley[/eluser]
thanks any idea how to implement my second point!!


Thanks

El Forum

[eluser]keithics[/eluser]
There is an option in DOM PDF to let the user download or view it.