Forum


Replies: 2   Views: 3575
Template multiple
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 kph  · 18-12-2012 - 11:13

We are using PHPdocx to generate Word documents. We have made a template the uses our Mysql database. Thats works great with (only) one Mysql record. But is it possible to use the PHPdocx template function with mulitple Mysql records.

Is it possible to add a breakpage to the template...

Posted by kph  · 11-04-2013 - 12:13

This problem is solved by the mergeType function in phpdocx

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

Hi Kph, I have the same problem as yours, I want to replacevariables on my template with datas from a database, I need to dispolay the same paragraph but with different values and for each record to be in a page. When I try a single record it works but when I use a multiple records, i have an error. Can you help me please ? thank you.