View Single Post
  #1 (permalink)  
Old 07-02-09, 07:58 AM
Deansatch Deansatch is offline
Coding Addict
 
Join Date: Jul 2006
Location: Northumberland
Posts: 373
Thanks: 0
Thanked 0 Times in 0 Posts
Arrow Use php to populate .doc or .pdf

I was wondering if it is possible to create a word document complete with formatting and image effects etc... and then use php to pull text from a database and images from folders and insert them into the preformatted page. Or the same with some sort of pdf template?

This doesn't have to be something that web users will be doing. It will be for them to fill in the details, then I can click on "convert to word" and that users information will be inserted into the relevant parts of the document ready to print.

I know there are ways to convert html to pdf etc... but I don't want to be restricted by html layouts and browser variations.
__________________
Aye!
Reply With Quote