Page 1 of 1

how can i create a pdf from my database record

Posted: Mon Jul 07, 2008 7:15 pm
by shaun112
i have a database that hold student information and i want to create a situation where by all this information will be printed out to a pdf page by page. to make my self more clearer i want each roll from the database to be printed on each page.
example

if i have 10 rolls in the db,this will mean 10 pages of pdf's.
i don't know how to go about this, and process also as to automatic(one click print all the documents)
pleas i realy need help on this, i have deadline of wenesday. SOS SOS SOS SOS

Re: how can i create a pdf from my database record

Posted: Tue Jul 08, 2008 2:31 am
by jaoudestudios
I have not done it before, but I have read into it a while back as I was going to do something similar.

There are a few ways of converting from database to PDF. Some look better but are more difficult to initialise and setup.

Are you on a shared host? As I think you might need a couple of extra packages (not sure)

This method converts a html page to PDF, so that way it should be easier to style.

http://www.rustyparts.com/pdf.php

Let us know how you get on