Forum


Replies: 4   Views: 3857
Html and replacetablevariable
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  · 22-07-2015 - 07:01

Hi there, the code post is correct and you need to use if you want to use a wordfragment correctly. Anyway you are right, you code is not working because there is another mistake, the replaceTableVariable does not support wordFragments at the moment, I have not noticed that. If you want to replace any variable by wordfragment you need to use the replaceVariableByWordFragment method Regards.