I am reading XML and PHP. I have to import a xml file in mysql database using PHP script.
I tried using 'simplexml_load_string()' and 'simplexml_load_file()' functions. It worked. But how the xml parser is used to import XML files into Mysql Database.
Please tell me about this, I tried the example in http://www.w3schools.com/PHP/php_xml_parser_expat.asp but could not able to import to Mysql Database.

Thanks