Forum


Replies: 4   Views: 1795
Second document from template replacevariablebytext fails
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  · 02-03-2020 - 15:12

Hello,

We have run a script that uses ten different templates to generate several outputs, and in all cases, all placeholders are replaced correctly.

There's no need to unset or set to null the variables, CreateDocxFromTemplate resets the needed variables automatically.

Please send to contact[at]phpdocx.com the most simple script that illustrates your issue (without doing external connections such as databases or webservices) and the templates you are using and we'll check them.

Regards.