Forum


Replies: 2   Views: 4106
Clearblocks();
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  · 28-11-2013 - 12:00

Hello, I have thiscode:



$docx2 = new CreateDocx();

    $docx2->setTemplateSymbol('@');

    $docx2->addTemplate($name.'.docx');

    

    

    $docx2->clearBlocks();

    $docx2->createDocxAndDownload('/tmp/'.$_SESSION["pseudo"].'_'.$_SESSION["utilisateur_id"].'/'.time());



but $docx2->clearBlocks(); does nothingat all..



Do you know why?


Posted by nikkyb8  · 02-12-2013 - 09:36

Hi,



 



Do you have an idea for this ?