doubledee Posted March 31, 2011 Share Posted March 31, 2011 I have a simple form and need to convert it to XML so I can send it to my payment gateway. I have the XML data types (?) they are expecting, but do not have a clue of how to build the string. Can someone help me out? Thanks, Debbie Quote Link to comment https://forums.phpfreaks.com/topic/232238-how-do-i-convert-an-html-form-into-an-xml-string/ Share on other sites More sharing options...
trq Posted March 31, 2011 Share Posted March 31, 2011 Where exactly are you stuck? XML is just another markup language like HTML. Quote Link to comment https://forums.phpfreaks.com/topic/232238-how-do-i-convert-an-html-form-into-an-xml-string/#findComment-1194876 Share on other sites More sharing options...
doubledee Posted March 31, 2011 Author Share Posted March 31, 2011 Where exactly are you stuck? XML is just another markup language like HTML. Because I need a dynamic way to take what someone enters into the form and merge it with the XML data types and create an XML string. Debbie Quote Link to comment https://forums.phpfreaks.com/topic/232238-how-do-i-convert-an-html-form-into-an-xml-string/#findComment-1194967 Share on other sites More sharing options...
trq Posted March 31, 2011 Share Posted March 31, 2011 Post some code or at very least an example of your form data and the expected XML it will be placed into. Quote Link to comment https://forums.phpfreaks.com/topic/232238-how-do-i-convert-an-html-form-into-an-xml-string/#findComment-1195173 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.