View Single Post
  #2 (permalink)  
Old 25-11-04
Rich Rich is offline
Super Moderator
 
Join Date: Aug 2003
Posts: 2,451
Thanks: 0
Thanked 0 Times in 0 Posts
Rich is an unknown quantity at this point
I just download the xml and import it into mysql the same as CSV. As far as I know, you can't do a LOAD DATA into mysql from an XML file, so I just go thru it and do an insert for each record.

I was always put off XML, and still prefer CSV due to the KISS factor, but the simplexml functions in PHP5 make it a lot easier to navigate around an xml file.
Reply With Quote