Forum


Replies: 1   Views: 3038
Word template one record per page
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by oussema  · 20-04-2015 - 14:03

Hello everyone, I have a word document with a paragraphe containing a variable and I have datas from a database. I need to replace the variable in the paragraphe each time with a name from the data base and each paragraphe needs to be in one page with a page break. When I try to replacevariablewithText with my array of datas, I get an error. Thank you.

Posted by admin  · 20-04-2015 - 17:19

Hello, Please post your PHP code, there must be something wrong in it. Regards.