XML file stores image location then use SimpleXML
<p>I just want to know if i'm doing this right. I put a markup for the image location in my xml file. I read it using this statement for php.</p>

<pre><code>foreach($xml-&gt;children() as $image)
{
echo "&lt;img src=\"$image-&gt;image\"/&gt;";
}
</code></pre>

<p>Is this fine?</p>
