Re: mysql_num_rows error

From: Date: Tue, 08 Oct 2002 15:26:37 +0000
Subject: Re: mysql_num_rows error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-119277@lists.php.net to get a copy of this message
Omar Campos wrote:
I get the next warning: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/olimpiad/public_html/base/alta1.php on line 34
This usually means that the SQL query failed. You can check the value returned by mysql_query to see if this is the case - it will be FALSE if it failed. In this case my guess would be that the backticks are not valid string delimeters. -- Stuart

« previous php.general (#119277) next »