I need a script in PHP that will import the contents of an XML file into a MySQL database. Please pay special attention to the structure of the XML. There is a category and usually a subcategory that both need to be imported. The feed can be downloaded from the URL below.
[url removed, login to view]