View Single Post
Old 07-25-2012, 06:25 PM   #1 (permalink)
twiggs462
The Visitor
Newcomer 
 
Join Date: Jul 2012
Posts: 1
Thanks: 0
twiggs462 is on a distinguished road
Default Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource

A client of mine is having an issue with an admin area of their site that I never encountered before...

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource

The code that is being referenced is:

Code:
// new sql to pull associated products for seleceted family

$restwoway = mysql_query("SELECT * FROM members order by name;");
$numrows=mysql_num_rows(restwoway);

if($numrows=0){
echo "Invalid entry";
}
else { ?>
Anyone see any errors here or... do you need me to provide additional details. I never seen this error before and not sure how to address it . Thank you for any ideas you might have.
twiggs462 is offline  
Reply With Quote