Replies: 4   Views: 2725
Using template
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 admin  · 11-04-2013 - 12:13

If you wish to create n tables (where n is not yet define) the simplest solution is first generate a docx with n pages with n variable names (you may do that from a single variable replacing it n times and formatting it to have a page break after it) and later on do the substitution of the dynamically generated variables.