Jump to content


This topic is now archived and is closed to further replies.


XML, php, mySQL stat grabber

Recommended Posts

I have this idea that I wish to do. I have an xml document from a website that is continuously updating peoples stats for this game. Now i want to create a "High Scores" page. My theory of how this would work would be:


1) Somehow parse the XML into a structured mySQL table

2) Use PHP to grab the information out of the database and sort it.


Is this the way to go about it? Also, is it possible to parse the XML into mySQL?

Share this post

Link to post
Share on other sites

Well, yeah. You can use SimpleXML to parse it and then create queries to insert it into a database. I'm not exactly sure what "parse the XML into MySQL" is supposed to mean though.

Share this post

Link to post
Share on other sites


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.