Jump to content

php to ms word docx


maxelct

Recommended Posts

Hi

 

I am running a WAMP local server with php 5.4.12. I have to create a number of word.docx files from a database.

 

My research suggests lots of possibilities. My forms are not going to be complex, but I do need to be able to save / print them

 

Using headers wont give me much control I don't think.

 

I know this is a bit of a vague question - but could anyone advise on which approach might be best for me?

 

I'd really appreciate it

 

Edward

Link to comment
Share on other sites

If you want true Word docs then I'd mention phpdocx. Not free. At my work we needed to convert HTML into something editable for our users to download, checked out options, and went with phpdocx. Does the job well enough.

 

However, if you're running PHP from a Windows box, and don't have a problem installing Office on it too, then you can use COM to "script" Word into opening up HTML files and re-saving them.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.