Jump to content

Recommended Posts

I am trying to do something, but not quite sure I do it with MySQL or PHP. Basically, I want to collect some information from a visitor through a webpage, enter it into MySQL, and then provide them a Thank You page.

 

I then want to take some of that data, and pass it via SOAP or XML to a partner using PHP or something, and then parse their XML response and enter the data in another table.

 

Not sure if this can be done. I know MySQL 5 has stored procedures, however, I'm only on 3.23.58. Any way to do this, or should I upgrade?

Link to comment
https://forums.phpfreaks.com/topic/3154-need-to-send-and-receive-xml-from-mysql/
Share on other sites

First, you should definitely upgrade, at least to 4.1 -- 3.23.x is quite old, and lacks many features.

 

Second, I don't see what the problem is. You don't need to dump the raw XML into a table temporarily (though you could for archival reasons); simply send it off to be parsed, and enter whatever name/value pairs directly into your MySQL tables.

 

Did I miss something?

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.