Hi,
I wonder if someone could help me out with the following. I am new to php so please bare with me.
I am using the following loop to go through the data:
Code:
while ($row1 = mysql_fetch_array($players))
{
if ($row1['t_id'] != $row['team1'])
{
echo "<option value='name'>" . $row1['name'];
}
}
However I need to do this all over again in the next row but am struggling to move the array pointer to the start.
I have tried
echo reset($players); and
echo reset($row1);
but get the error that these are not arrays. I am a bit confused and any help would be really appreciated.
Many Thanks
bodis