hi there, any hint on resetting a $res from mysql_fetch_row()? my sample code is something like this: $res = mysql_query( ..... ) or die ("Query failed"); while ( list ( $gid, $pSubSetName) = mysql_fetch_row($res) ) { print "$gid - $pSubSetName" } : while ( list ( $gid, $pSubSetName) = mysql_fetch_row($res) ) { print "$gid - $pSubSetName" } the 1st while works fine, but not the 2nd one. I geuss there should be something like resetting the internal pointer between the 2 while loops? -- // Donny -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php