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.
I have a template with 30 pages and I want to enter a table at a specific point, where I set for example a variable $TABLE_1$, on page 12 for example.
How can I replace a variable with a table?
Thanks
Hello,
You can use replaceTemplateVariableByHTML to do that. Just add a table in HTML and replace your placeholder using replaceTemplateVariableByHTML.
Regards.
How can I have the table spanning the whole width of my page?
I tried to add inline css like width:100%; or width:600px; in the HTML but it does not change anything
Thanks
Hello,
Please check this:
http://www.phpdocx.com/help/forum?vasthtmlaction=viewtopic&t=2799.0
Regards.