Forum


Replies: 7   Views: 4016
Adding html to table symbol
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  · 08-11-2015 - 12:08

Hello,

The method replaceTableVariable doesn't allow to add HTML. We recommend you to do it in two steps: first use replaceTableVariable to add as many rows as needed setting new placeholders and save the document; and then open this new DOCX and use the replaceVariablebyHTMLmethod to replace the placeholders by HTML.

Regards.