Re: [PHP-DEV] MySQL_Num_Rows functionality

2001-09-29 Thread Mike Rogers
Ignore. This only happened for a few minutes and without changing anything started working. I don't know why. -- Mike - Original Message - From: "Mike Rogers" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, September 30, 2001 12:48 AM Subjec

[PHP-DEV] MySQL_Num_Rows functionality

2001-09-29 Thread Mike Rogers
mysql_num_rows() to a result that returned zero rows returns 'Supplied argument is not a valid MySQL result resource'. If it is an invalid resource (such as SELECT * from table to an empty table), shouldn't it return ZERO (0). That seems to make the most sense, as opposed to throwing an