rasta876 Posted August 28, 2007 Share Posted August 28, 2007 Hello, I was able to get information out of Flash in XML format. IT is very simple, just nested tags. similar to the following. <PERSON> <Info> <Name>John</Name> <Age>27</Age> </Info> </PERSON> How do I get this into mySQL database with PHP. One column in the database is NAME an the other os AGE thanks! Link to comment https://forums.phpfreaks.com/topic/66973-xml-into-mysqldatabase-from-flash-with-php/ Share on other sites More sharing options...
deadimp Posted August 28, 2007 Share Posted August 28, 2007 Use an XML parser, like SimpleXML (which you can view on the PHP Documentation). Link to comment https://forums.phpfreaks.com/topic/66973-xml-into-mysqldatabase-from-flash-with-php/#findComment-335870 Share on other sites More sharing options...
pocobueno1388 Posted August 28, 2007 Share Posted August 28, 2007 You may be able to use REGEX to get just the text in between the tags. I couldn't help you with that though, I'm terrible with it. Link to comment https://forums.phpfreaks.com/topic/66973-xml-into-mysqldatabase-from-flash-with-php/#findComment-335877 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.