Forum


Replies: 10   Views: 4569
Erreur cleantemplatevariable
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 nikkyb8  · 18-11-2013 - 18:07

Hello,



I tryto usethis function:

$docx->cleanTemplateVariable('VARIABLE', 'block');

I still have$$ instead of$VARIABLE$

The variabledoes not disappear...



Here is my code:

CreateDocx$docx= new();

$docx->AddTemplate('/var /www /docx/ examples/ files /TemplateClean.docx');

$docx->cleanTemplateVariable('VARIABLE', 'block');

$docx->createDocx('/tmp /' $_SESSION["username"]'_'$ _SESSION["user_id"]'/''example_clean'.....)



Youknowor thatcome from?