Comments on: Convert HTML to MS Word Document using PHP https://www.codexworld.com/convert-html-to-ms-word-document-export-php/ Web & Mobile App Development Company Wed, 24 Aug 2022 05:41:19 +0000 hourly 1 By: Anc https://www.codexworld.com/convert-html-to-ms-word-document-export-php/comment-page-1/#comment-199892 Wed, 24 Aug 2022 05:41:19 +0000 https://www.codexworld.com/?p=4151#comment-199892 Thank you for great Tutorial. How do you set Landscape Orientation ?

]]>
By: Neftali Kaftal https://www.codexworld.com/convert-html-to-ms-word-document-export-php/comment-page-1/#comment-196121 Thu, 04 Aug 2022 16:03:46 +0000 https://www.codexworld.com/?p=4151#comment-196121 Good morining. Code has one glitch in HtmlToDoc.class.php

Line 55: $return = <<<EOH

There is an extra space after the H that gives the following error: Parse error: syntax error, unexpected '<<' (T_SL)

Otherwise it works perfectly. Thank you!

]]>
By: Jesús https://www.codexworld.com/convert-html-to-ms-word-document-export-php/comment-page-1/#comment-183215 Tue, 14 Jun 2022 14:25:14 +0000 https://www.codexworld.com/?p=4151#comment-183215 Good approach for small conversions! HTML to DOCX can also be done using phpdocx (phpdocx.com) that does the transformation using OOXML tags, so it’s compatible with all DOCX readers and support many tags and styles.

]]>
By: jitendra yadav https://www.codexworld.com/convert-html-to-ms-word-document-export-php/comment-page-1/#comment-168623 Mon, 21 Mar 2022 04:03:15 +0000 https://www.codexworld.com/?p=4151#comment-168623 hi i want to convert doc and docx both type of file to html please help me

]]>
By: Djaenz https://www.codexworld.com/convert-html-to-ms-word-document-export-php/comment-page-1/#comment-152789 Tue, 28 Sep 2021 14:05:00 +0000 https://www.codexworld.com/?p=4151#comment-152789 Great work. But how can I make html -tag to word?

]]>
By: bahareh https://www.codexworld.com/convert-html-to-ms-word-document-export-php/comment-page-1/#comment-145595 Wed, 04 Aug 2021 12:24:54 +0000 https://www.codexworld.com/?p=4151#comment-145595 Great Tutorials

]]>
By: Laura https://www.codexworld.com/convert-html-to-ms-word-document-export-php/comment-page-1/#comment-143885 Wed, 07 Jul 2021 15:26:04 +0000 https://www.codexworld.com/?p=4151#comment-143885 Hello,

Great solution!

I am looking fo a solution to integrate a input text field into the word doc.

Has someone an idea?

]]>
By: Bill https://www.codexworld.com/convert-html-to-ms-word-document-export-php/comment-page-1/#comment-137624 Fri, 02 Apr 2021 11:47:14 +0000 https://www.codexworld.com/?p=4151#comment-137624 Thank you for great Tutorial. How do you set Landscape Orientation ?

]]>
By: Rohit https://www.codexworld.com/convert-html-to-ms-word-document-export-php/comment-page-1/#comment-124169 Wed, 30 Sep 2020 10:18:54 +0000 https://www.codexworld.com/?p=4151#comment-124169 How can I pass the already existing template to this and do the changes?

]]>
By: Gabriel https://www.codexworld.com/convert-html-to-ms-word-document-export-php/comment-page-1/#comment-122092 Thu, 27 Aug 2020 13:10:15 +0000 https://www.codexworld.com/?p=4151#comment-122092 How add page number?

]]>