I'm trying to produce a docx file from basic html code:
[code]
require_once 'phpdocx_pro/classes/CreateDocx.inc';
$docx = new CreateDocx();
$html= '<p>This will insert the name in the document: <i>test</i></p>';
$docx->addHTML($html);
$docx->createDocxAndDownload('example_html');
[/code]
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]http://www.phpdocx.com/documentation/add_html_word_document[/url]
The code in the documentation doesn't work at all.
Is there a dependency that I missed?
Greetings, naoki.peter