Forum


Replies: 6   Views: 4935
Fatal error: call to a member function addfromstring()
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  · 18-04-2015 - 07:29

Hello, You need to the replaceVariableByWordFragment replaceVariableByWordML not replaceVariableByWordML. Please read these pages fo more information: http://www.phpdocx.com/api-documentation/templates/replace-variable-word-fragment-Word-document http://www.phpdocx.com/api-documentation/templates/replace-variable-wordml-Word-document Regards.