Here's what I've got:
[PHP] while ($schedule = mysql_fetch_arr ay($result))
{
$Match_ID[] = $schedule['Match_ID'];
$Team1_Points[] = $schedule['Team1_Points'];
$Team2_Points[] = $schedule['Team2_Points'];
}
[/PHP]
And
[PHP]for($i=0;$i<$co unt;$i++)
{
$team1 = $GLOBALS['Team1_Points[$i]'];
$team2 = $GLOBALS['Team2_Points[$i]'];
$match = $GLOBALS['Match_ID[$i]'];
}
[/PHP]
But, well, that's wrong.
Suggestions?
Ray
[PHP] while ($schedule = mysql_fetch_arr ay($result))
{
$Match_ID[] = $schedule['Match_ID'];
$Team1_Points[] = $schedule['Team1_Points'];
$Team2_Points[] = $schedule['Team2_Points'];
}
[/PHP]
And
[PHP]for($i=0;$i<$co unt;$i++)
{
$team1 = $GLOBALS['Team1_Points[$i]'];
$team2 = $GLOBALS['Team2_Points[$i]'];
$match = $GLOBALS['Match_ID[$i]'];
}
[/PHP]
But, well, that's wrong.
Suggestions?
Ray
Comment