Export MySql data into .doc file? |
[eluser]Spirit986[/eluser]
Hi to all as i am new to this forum, absolute beginner with CodeIgniter and this is my first post.. I am making initial preparations to develop a "Clients (Medical Patients) Management web application" and now I am looking for different framework options. CodeIgniter seems pretty OK judging from my first look at it (it is most likely that i will choose it for my assignment), i have looked at the documentation and the tutorial videos, however there is one little thing that is bothering me for this assignment. The client requests that the application should be able to export the clients data into a word document format. Now i know that this is possible somehow... I have previous experience with exporting into pdf files, but so far i haven't heard someone to export html data into word documents? Does CodeIgniter have such option embedded into it's classes or I will have to find another way? Thank you
[eluser]danmontgomery[/eluser]
You can generate an HTML file with the .doc extension and it will open normally in Word.
[eluser]Spirit986[/eluser]
Quote:You can check this out, but you would need to convert it to a CodeIgniter Library!I wll try this and post feedback (if i dont forget 8-/ ) Quote:Perhaps i should add that in my signature too ![]() --------------------------------------------------------------------------- Quote:You can generate an HTML file with the .doc extension and it will open normally in Word.LOL! I'll be damned! I realy saves as a doc by just saving into an extension ![]() ---------------------------------------------------------------------------- Also if anyone else has this problem i've found a php class here that exports into MS .doc format. If someone is interested the class can be found here: MsDoc Generator
[eluser]danmontgomery[/eluser]
You can include inline CSS, or link tags in the head like a normal HTML document. Be wary of calling remote CSS files though, you have to use absolute URLs, and they would be inaccessible if the viewer isn't online, etc. |
Welcome Guest, Not a member yet? Register Sign In |