1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

how to conect to datatbase through XML

Discussion in 'XML & RSS' started by Nokia N93, Dec 6, 2010.

  1. #1

    i have an image gallery which has XML file that stores static names for the images
    i want to modify the XML file, so that i can connect to the DATABSE and bring the images from there dynamically

    how can i do that please ?
    I would be much appreciate someone can help on this problem.

     
    Nokia N93, Dec 6, 2010 IP
  2. QiSoftware

    QiSoftware Well-Known Member

    Messages:
    805
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    158
    #2
    normally image files are not stored in databases. Pointers to the image files are stored in the database. It sounds like your xml files are already pointing to the image files.

    Do you want to store pointers in an online database?

    Q...
     
    QiSoftware, Dec 27, 2010 IP
  3. johnny_mesic

    johnny_mesic Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    hi
    follow these steps
    1.make a table having info of image path and other info which is showing via xml
    2.make new php file
    3.connect it to data base
    4.fetch data from database
    5.all data must be echo with in xml tags
    6.call .php instead of .xml file
     
    johnny_mesic, Dec 29, 2010 IP