Jump to content

reading an XML file via php 4


thyscorpion

Recommended Posts

hi,
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?

thanks.....
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.