<?php
require_once("C:/xampp/htdocs/phpdocx_demo/phpdocx_free/classes/CreateDocx.inc");
$docx = new CreateDocx();
$text = array();
$text[] =array('text' => 'I am going to write',);
$text[] =array('text' => ' Hello World!','b' => 'single',);
$text[] =array('text' => ' using bold characters.',);
$docx->addText($text);
$docx->createDocx('C:/xampp/htdocs/phpdocx_demo/hello_wor3sld2');
?>
error: file is generating, but no data's found. empty file.
what to do.
am using phpdocx free version.