Jump to content


This topic is now archived and is closed to further replies.


reading an XML file via php 4

Recommended Posts

i am making a gallery for my own site and rather than manually adding description of each picture in html i would rather do it in XML connected with the filename of the picture and let PHP4 pick up the discription for each picture and put it beside the image on the page.

i am already automatically picking up the image names from a directory and making a gallery out of the list. now i need to put individual discriptions to it..

can someone please help me with it?  :-[

how should i make the xml file tags ?  ???

will i have to do a string search for the XML file or does PHP somehow recognize XML tags?


Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.