mahavir123 1 Junior Poster in Training

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 but could not able to import to Mysql Database.