Forum


Replies: 4   Views: 3951
Html content with addtable() method
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 Sven May  · 17-02-2015 - 11:12

I am affraid i do not understand your question: What method are you using that return the undefined method? I create a docx object -> $docx = new new CreateDocx(); then $docx->createWordMLFragment() ...and this method was not found. I tried to run the example code what I found here! ( http://www.phpdocx.com/introduction/html-to-word-PHP at external HTML source part) This exempale not use replaceVariableByHTML() method. What I want: I have a HTML content and I have to suit it into a cell. The table is not a HTML table I use addTable() method to build it.