Replies: 7   Views: 3311
Addhtml write nothing
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 naoki.peter  · 09-05-2011 - 12:06


I'm trying to produce a docx file from basic html code:

require_once 'phpdocx_pro/classes/';

$docx = new CreateDocx();
$html= '<p>This will insert the name in the document: <i>test</i></p>';


the file is created without any warnings / errors. But when I open the document in word, it shows only a blank page.

the code is similiar to the one at the documentation section: [url][/url]
The code in the documentation doesn't work at all.

Is there a dependency that I missed?

Greetings, naoki.peter