Hello, thanks for taking your time to help me out.
Please can you help me with this code 🙂
I want it to display the data like this:
-TODAYS-DATE-
NEWS
NEWS
-YESTERDAYS-DATE-
NEWS
NEWS
But at the minute it will only display like;
-DATE-
NEWS
-DATE-
NEWS
-DATE-
NEWS
<table width=500 cellspacing=1 cellpadding=1 border=0 bordercolor="black" class="black3" align="center">
<tr>
<td class="header">Game Updates</td>
</tr>
<?php
while ($arr = mysql_fetch_array($que)){
$update = $arr['update'];
$type = $arr['type'];
$by = $arr['updator'];
$d = $arr['date'];
$date=ConvertDate($d);
?>
<tr class="title">
<td><? print $date ?></td>
</tr>
<tr class="text">
<td>
<table class="black" width="100%"> <tr class="text">
<td width="1%" align="center"><? print $type ?></td>
<td align="left"><? print $update ?></td>
<td align="center"><? print $by ?></td>
</tr>
</table>
<? } ?>
</tr>
</table>