Forum


Replies: 9   Views: 3272
Images and array of text are display simultaneously
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  · 11-04-2013 - 12:13

Hello,

All examples are working fine, pleaase check your code and phpdocx/server log . About these lines:

$docx->addTemplateVariable(’EMAIL’, ’sonal’);
$docx->addTemplateVariable(’HELLO’, ‘Hellooooooooooo’);

You can't replace a variable if the placeholder doesn't exist in template. And the included example doesn't have EMAIL, HELLO placeholders; you must add them to template before replacing them.