Hi,
The warning tells you atht you try to get the number of rows, from an invalid query result. In opther words: THere was an error in you rquery (NOT no results!). You should always place a little line after your query statment, saying something like:
$oRS = mysql_db_query( $sPhpAdMentor_DBDatabase, $sSQL, $conn )or die('The following problem occured when trying to retrieve your data: '.mysql_error());
This will tell you that there was a problem, and stop the script from proceeding.
The rest of the warnings are a result of this: It has given you an error statement, therefor the redirect is not possible anymore.
Fix your query, and your problem is solved.
J.