Can PHP create PDF files for me?
The PHP Library, phplib will let you do this and there are a series of functions that will give you good control over the resultant PDF.
A popular choice with many is the excellent FPDF resource which you can find out more about here: http://www.fpdf.org
There are various FAQs that explain all the functions and how to go from creating your first PDF to writing a sophisticated program to format your material and content exactly how you want.
Remember to read the manual before posting your questions in their support forum!
More other PHP Questions
How do I find out about my PHP installation?How do I define a constant in PHP?
How can I add branching logic to my PHP code?
How do you get an array of the date and time?
I have lots of if else logic - is there another option?