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.


Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.