Forum


Replies: 1   Views: 3235
How should data be escaped
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 xanadata  · 30-10-2015 - 13:47

It seems a table I'm creating via replaceTableVariable() is not being displayed correctly. I'm wondering if it's due to the data that needing to be escaped.

How should these values be escaped? Would htmlentities() be sufficient?