hi,
how do you return to the first record in a table after using the while loop????? What i want is to loop through a table using the below code:
while ($row = mysql_fetch_array($sql_query)) {
// code goes here
}
this works fine, but when i try to use the same while loop again in the script it does do anything. i remember from when looping through tables with other langauges you have to return to the first record in the table. if that is the case, how do i do that for the above????? cheers
martyn
returning to the first record in table after while loop
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK