jonshutt
23 Nov 2009, 09:13 PM
Hi folks
I'm reworking an existing website, and there are a series of web forms, surveying the client. The data from each form is saved in mpsql fields, and its actually saved as XML format, so that each form field becomes an xml element, and the value that was entered becomes the content of the xml tag - eg <inputBox1>my entry</inputBox1>
When I'm looking for, is a simple (as simple as possible!) javascript or ajax system that I can use to read the xml content out of the database, and populate the form on the page with the right values
Then, i'm also looking for again for an ajax feature to save the content back to the xml format, and into the database.
There is already a system in place, but it seems very complicated, and also uses some custom php classes - I want to avoid using these so that the system can run on hosts that don't have the costum php classes installed.
Hope this makes sense
Jon
I'm reworking an existing website, and there are a series of web forms, surveying the client. The data from each form is saved in mpsql fields, and its actually saved as XML format, so that each form field becomes an xml element, and the value that was entered becomes the content of the xml tag - eg <inputBox1>my entry</inputBox1>
When I'm looking for, is a simple (as simple as possible!) javascript or ajax system that I can use to read the xml content out of the database, and populate the form on the page with the right values
Then, i'm also looking for again for an ajax feature to save the content back to the xml format, and into the database.
There is already a system in place, but it seems very complicated, and also uses some custom php classes - I want to avoid using these so that the system can run on hosts that don't have the costum php classes installed.
Hope this makes sense
Jon