i want to parse an online xml form using php and store the data in mysql

Discussion in 'PHP' started by kailashr2k, May 28, 2008.

  1. #1
    I am having somw online XML files i want to parse the xml data in that one in to MUSQL database So can any one please help me to do this...

    Xml file is in the following format

    <xml . . . .>

    <Airport>
    <airportname>Daka</airportname>
    <Location> Bangladesh</location>
    .....
    .
    .
    .
    .<.Airport>

    So i want to parse the data b/w tags in to an MYSQL database i have

    I have corresponding fields in the dataase like airport,location etc

    I want to parse and correspondingly store it in MYSQL.

    Please help me...

    Thank u in advance...
     
    kailashr2k, May 28, 2008 IP
  2. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #2
    kmap, May 28, 2008 IP
  3. gyp

    gyp Banned

    Messages:
    44
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    if ( $job == "done" ) {
    echo "Please message me next time you have something";
    } else {
    echo "I am interested in this job, Please Message me.";
    }
     
    gyp, May 28, 2008 IP