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.
Hello,
I have a template docx with several TABLES. One of these tables are for layout document, but others must have data inside.
I get this error messages:
Warning: strstr() [function.strstr]: Empty delimiter. in MYPATH...\phpdocx_pro\classes\CreateTemplate.inc on line 501
And memory alloc errors sometimes...
Is there any example where the template populate 2 different tables??
Thanks for all your work!
The PHPDOCX are the best.
The error came from the way i wrote the "variables". Word 2007 write several tags that you can not see... and the phpdocx library can confuse with them.
The solution is write the "variable" (in the template docx) in "one step" including $ symbols... without erase.. or copy... or replace any....."all in one step".
Remember, be careful writing your variables in the docx template....
THANKS TO PHPDOCX TECH. A great job and great people too.
Hi,
I would like to create tables dynamically if data is set to show it.
Each tables contents and titles are differents and i don't want show table without datas.
All in the same template.
Then how can i do this ?
thanks!
Hello,
You can use HTML and embed it on your docx. Only available for phpdocx.
Regards.