Replies: 1   Views: 3232
Remove line text or table parsing a conditione
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 antonello  · 25-05-2012 - 17:47


I would like to know if is possible to insert a condition in template to remove , according to the value, a block of text or table in finally document.

For example : should be nice to have a possibility to put in template a condition: IF $VAR$=0 text or table ENDIF and parser include a text in finally document only if VAR value is 0 .

There is a possibilites to do it ??

Many thanks
best regards
Antonello Raviglione