Hey guys,
I was wondering if it is possible to write a txt file from a loop.
I have an array which stores picture names and descripton. I was wondering if there was a way for php to write an xml file to contain this data.
I have made simple txt files and used variables in the past, but nothing with a loop. My xml file is simple
<picture>
<desc> .............. </desc>
<file_name> ...............</file_name>
</picture>
I would like to produce code like the above for each picture. Could anyone help me with a loop or tell me if this is possible
Thanks very much
Alex