Export PHP Form Fields to Word Form
Hello,
Does anyone have any advice how I could export data from a php page to a fillable form I've created in Word 07.
I have record information displayed on a website (php, myql). I would like to create a button on the website that, when pressed, would send the data to the word fillable form in the correct spots of the form.
Any advice or reading material on this subject?
Thanks.
Re: Export PHP Form Fields to Word Form
This may be possible using a COM object. Here's a tutorial about creating Word docs from PHP - take a particular look at the sample PHP code (on page 2) and make sure you understand it.
Next, take a look at MSDN's documentation for Word's COM object. In particular, try looking at the Document type and its members.
See if that's any help, but I can't assure you that this is possible.
Re: Export PHP Form Fields to Word Form
Thanks for putting those references together for me.
I will read into the topic more now.