Jump to content


Photo

reading an XML file via php 4


  • Please log in to reply
1 reply to this topic

#1 thyscorpion

thyscorpion
  • Members
  • PipPipPip
  • Advanced Member
  • 46 posts

Posted 20 October 2006 - 09:44 PM

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.....

#2 thyscorpion

thyscorpion
  • Members
  • PipPipPip
  • Advanced Member
  • 46 posts

Posted 21 October 2006 - 06:19 PM

someone please give me some head way!.. :-(




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users