Replies: 4   Views: 1698
Html to word
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.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by nhupv  · 20-02-2019 - 11:29


I have a problem as follows:

I use Codeigniter (CI) to create an html page then save to word,I have followed the correct instructions but received the error : 

Message: Use of undefined constant DEBUGCSS - assumed 'DEBUGCSS' (this will throw an Error in a future version of PHP)

And I know why, because framwork codeigniter saves all files with the .php extension so maybe my link to the html file is incorrect. For example, to display an html file in CI on the browser, the link looks like this: http:myserver/report/quickreport

The quickreport file will contain html content but no html extension (it is a php file to display html content). To embed html file when using phpdocx, the link should look like this:

http: myserver/report/quickreport.html

Is there any solution to help me?

Best regards