Adding HTML to a docx document in PHPdocx

  • May 03, 2011

This information is outdated, please, refer to the HTML to Word documentation for up to date info.
You can also add HTML to a docx document using $html in a very simply way:


$docx = new CreateDocx();

$html= 'This will insert the name in the document:
My name';