Parsing XML into PHP to insert into a MySQL DB

Discussion in 'XML' started by impulse(), Oct 13, 2006.

  1. impulse()

    impulse()

    Joined:
    Oct 13, 2006
    Messages:
    1
    Likes Received:
    0
    Is this easily done. I've been asked to do this using xml_set_character_data_handler() in PHP. I have then got to insert this data into a MySQL DB. I have used a script from uk.php.net to print out this data, but it's in an array.

    Can anyone here point me in the right direction of parsing XML into PHP and then seperating each element to insert the data into a MySQL DB.

    Regards,
     
    impulse(), Oct 13, 2006
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.