Replies: 8   Views: 3321
Addtemplatevariable table issue
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 lobbygov  · 20-01-2011 - 00:00

Has anyone else experienced trouble with using the addTemplateVariable function to replace variables in a table?

I've tried my own template and the template included with PHPDOCX Pro, but in both cases the script not only replaces the variables, but it creates several rows of the variables after my content is added. Additionally, it creates several copies of my header row in the table, even though no variables are included.

I wonder if it's a bug?