Forum


Replies: 3   Views: 4307
Multi-line text
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 jorgelj  · 19-11-2013 - 09:04

Hello,



In



$docx->addTemplateVariable ('NAME', $text);



You can't add a multimensional array, only an array. Of course you can use the replaceTemplateVariableByHTML method to do that.



Regards.