If someone could help, that would be great....
Ok i want the data to be displayed together.... eg. 'week 1' displayed once then all the matches in a single table below, then prints 'week 2' follwed by the matches in the following table rather than continually stating 'week 1' and a new table for every match?
Any ideas?
$query = "SELECT week, home, away FROM fixtures ORDER BY week ASC";
$results = mysql_query($query);
while(list($week, $home, $away)= mysql_fetch_row($results))
{
echo " <br> <strong> $week </strong>"
."<table> <tr> <th> Home Team </th> <th> </th> <th> Away Team </th> </tr> <td>$home </td>" . " <td><strong>vs</strong></td> <td>$away</td></tr></table> <br>";
}