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.
Hi Guys!
I get this error when i try to use your docx lib.
Thats what i write:
<?php
$content=$_POST['content'];
require_once 'docx/classes/CreateDocx.inc';
$docx = new CreateDocx();
$docx->embedHTML($content);
$docx->modifyPageLayout('A4');
$docx->createDocx($_POST['documentname'])
?>
And this is the error what i get:
Fatal error: Call to undefined method CreateDocx::embedHTML() in
As far as I remember, the embedHtml() is only available in the PRO version.
What version are you using?
Then sry mate, embedHTML() is only available in the PRO version.