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.
I am using templates feature from your service. This is regarding table and rows issue. There will be only one row will be given for replacement but from database there will be n number of rows with same format of first row. Is there way to copy a first row then replace variable by text in table and then add coppied row to the end of table so can ireplace variable by text in next row of table.
Hello,
You can use the method replaceTableVariable (http://www.phpdocx.com/api-documentation/templates/replace-table-variable-Word-document) to replace a table row N times. You can replace it by texts, WordFragments or new placeholders to be replaced after using the other replace methods.
Regards.