Results 1 to 3 of 3

Thread: Export PHP Form Fields to Word Form

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2008
    Posts
    790

    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.

  2. #2
    Frenzied Member
    Join Date
    Apr 2009
    Location
    CA, USA
    Posts
    1,516

    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.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2008
    Posts
    790

    Re: Export PHP Form Fields to Word Form

    Thanks for putting those references together for me.

    I will read into the topic more now.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width