Needed tutorial on XML file creation
Posted: Wed Jul 16, 2008 1:39 pm
I'm integrating a gallery into a website and I need to fill an xml file with image details from a database. I haven't been able to find just a simple way to do this. It will be used in an administration area every time new photographs are added. Here's what the xml looks like:
For a database I'm using MySQL.
Code: Select all
<images>
<pic>
<image>gallery/1.jpg</image>
<thumbnail>gallery/s1.jpg</thumbnail>
<caption>Some lamp on the ground</caption>
</pic>
</images>