Hi ,
I neeed to order my loop by the id
my xml doc looks like this
<gig id="16">
<date>Fri. 23rd Apr</date>
<venue>Sneaky Pete's</venue>
<area>Edinburgh</area>
<telephone>www.ticketweb.co.uk</telephone>
<price>£10</price>
<time>Time TBA</time>
</gig>
So as you can see I need to order my string by this id
my code for the output is
<?php
foreach ($xml->gig as $dateof){
echo '<tr><td><img src="images/arrow.jpg" /></td><td width="200px" class="loop-Date">' . $dateof->date . '</td><td width="700px">' . $dateof->venue . '</td></tr>';
}
?>
Hope this makes sense