I have a question. Does anyone have a working php script which can parse a XML file to a sql database? I have searched for some scripts and didn't find anything what looks like I can edit it to my needs.
Any help would be great!
It is not a PHP solution, but you can extract values from XML directly into mySQL:
http://dev.mysql.com/doc/refman/5.1/en/xml-functions.html
Of course, if this is something you will need to do often, you can always fall back to what bzabhi have said.
Why not write one from scratch? Not that hard.