Forum


Replies: 4   Views: 2566
Replacevariablebywordfragment and mergedocx errors
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 jim.alexander@fundingbenchmarks.org  · 01-12-2017 - 23:05

Hi,

Thanks for the quick response.

I agree the version you sent works, however, if you reverse the merge file order, like this, 

$merge->mergeDocx('Test_Front_Page.docx', array('output_3.docx'), 'output_2.docx', array());

You get the error.

( The "Test_Front_Page.docx" is the cover page i.e. 1st page)

Regards