Need some helpe with something simple to you guys!

HIya

I’m not very good with php as you can probably tell, basically i’m just helping someone out…

http://farrer.primecreative.com/index.php?section=news&subsection=environment

As you can see, the dates to begin with are being pulled in in the correct format (day,month,year), but about halfway down the page the dates change to the incorrect format (year,month,day). Here is the code:

    <?php for ($i=0;$i<$num_env;$i++) {
        $cat = "Environment";
        $title = $newsdata['Environment'][$i]['heading'];
        $body = $newsdata['Environment'][$i]['contents'];
        list($day,$month,$year) = explode('/',$newsdata['Environment'][$i]['date']); 
        $date = $day.'/'.$month.'/'.$year; 
    ?>
        <div id="big_title_holder"><span class="page_title"><?=$title;?> - (<?=$date;?>)</span></div>
        <p class="bodycopywide"><?=$body;?></p>
    <?php }
          //echo "Articlecount : $num_ene";
          if ($num_wat=='0') {
          
          echo "There are currently no archived articles in this section.";
          
          }
          
    ?>

Can anyone help me as to why this is occurring and how I can alter the php to display all the date entries in the correct format (day,month,year), I don’t have access to the database.

Many thanks
Tom