Hey all,
I am buildin xml based album and i want to include php code into the xml file. The xml file is generated by coffecup and lookks like this:
<thumbnailer
x="10"
y="375"
w="450"
h="80"
myname="thumbs1"
image1="myalbum/jennifer_aniston_01_s.jpg"
bigimage1="myalbum/jennifer_aniston_01.jpg"
imagecaption1="1"
image2="myalbum/jennifer_aniston_02_s.jpg"
bigimage2="myalbum/jennifer_aniston_02.jpg"
imagecaption2="2"
image3="myalbum/jennifer_aniston_03_s.jpg"
bigimage3="myalbum/jennifer_aniston_03.jpg"
imagecaption3="3"
image4="myalbum/jennifer_aniston_04_s.jpg"
bigimage4="myalbum/jennifer_aniston_04.jpg"
imagecaption4="4"
image5="myalbum/jennifer_aniston_05.jpg"
bigimage5="myalbum/jennifer_aniston_05.jpg"
imagecaption5="5"
image6="myalbum/jennifer_aniston_06.jpg"
bigimage6="myalbum/jennifer_aniston_06.jpg"
imagecaption6="6"
>
</thumbnailer>
I want to get the images automatically using php. Anyway i can that? Or can i insert XML data into php document?