Forum


Replies: 7   Views: 3147
Escape required?
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 nachtschicht  · 15-11-2011 - 10:23

Hi,

I am using phpdocx v2.4 and would like to add some data from my database to a docx document. As long as I just insert "static" text everything works fine. However after adding the content from the database the docx is no longer valid and word refuses to open it. Are there any special chars which I need to escape when using $docx->addText()?

Thanks for your help