Using data from textarea and creating a Word doc

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
stom
Forum Newbie
Posts: 6
Joined: Thu Mar 11, 2010 1:04 pm

Using data from textarea and creating a Word doc

Post by stom »

I want to convert the data that is entered by the user in a textarea into a word document. I am using a mac, so I cannot use the COM functions provided by php. I am not sure what the other options are for creating a word doc. Please help asap...

Thanks
User avatar
markusn00b
Forum Contributor
Posts: 298
Joined: Sat Oct 20, 2007 2:16 pm
Location: York, England

Re: Using data from textarea and creating a Word doc

Post by markusn00b »

You're going to have a helluva time doing it, but you can write the document in the Microsoft Office XML format. See this example.
Post Reply