Forum


Replies: 6   Views: 3623
Mail merge
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 gsdirk  · 11-04-2013 - 12:13

[code]for($j=0;$j<=10;$j++)
{
$docx2 = "";
if(file_exists("temp/final".$j.".docx"))
{
$docx2 = new CreateDocx();
$docx2->mergeDOCX('temp/final.docx', 'temp/final'.$j.'.docx');
$docx2->createDocx('temp/final');
}
}[/code]

i have tried with above example
but it give me the blank 10 pages