note 6906 deleted from mysql_num_rows by danbeck

From: Date: Thu, 07 Sep 2000 17:10:01 +0000
Subject: note 6906 deleted from mysql_num_rows by danbeck
Groups: php.notes 
Request: Send a blank email to php-notes+get-4409@lists.php.net to get a copy of this message
I had the same problem with 4.0.0: "Warning: Supplied argument is not a valid MySQL result resource". It sometimes appeared and gone after a reload. Since the query should always return true, I've put it in a loop: while ( !($result = MySQL_Query ("SELECT ..."); and now it works every time... Perhaps the $link- Variable (I didn't specify this option to the functions) isn't always set correctly in php...

« previous php.notes (#4409) next »