0
Generate WORD Document with PHP - how to?
Hallo there, so I have a database and the user query it with PHP (HTML form actually). Then the user receives a lot of data and those are preformateted to fields with PHP (the user have no influence on those). The result (now it is a HTML document) have to be exported in WORD / as DOCX so the user to be able to edit some data. Any Idea how to do it? Is it a good idea to Export in WORD, or schould I add the data in a "text Areas" in the HTML so the user could correct them there and then print them, Thanks
2 Réponses
0
DAC 🎯 thanks, but it works only halfway. It geberates a wors document, but it removes all of the CSS and the document looks awful :( any idea how to fix this? i mean to keep the css in the doc file?