I can not get addHTML to work. either the resulting document is corrupted (openoffice, etc. can't open it) or the document is ok but the HTML content is missing.
My code is exactly as in the examples. Installation of PHP, etc. look ok also.
Where am I going wrong..... please help.
ta,
Andy
[code]<?PHP
require_once '../phpdocx/classes/CreateDocx.inc';
$docx = new CreateDocx();
$docx->addText('HTML content');
$html= '<p><strong>PHPDOCX</strong> is a PHP library designed to generate completely dynamic and fully customizable Word documents.</p>';
$docx->addHTML($html);
$docx->addText('End HTML content');
$docx->createDocx('../docx/example_html');
?>[/code]