note 19239 added to function.mysql-result

From: Date: Wed, 20 Feb 2002 16:35:54 +0000
Subject: note 19239 added to function.mysql-result
Groups: php.notes 
Request: Send a blank email to php-notes+get-26850@lists.php.net to get a copy of this message
RE:Warning: Supplied argument is not a valid MySQL result resource . . . appears when the number of rows returned is zero. Problem I have is I do want to know when there are zero rows but I can't trap the error, continue on and add a row. Anybody help here please? -- http://www.php.net/manual/en/function.mysql-result.php http://master.php.net/manage/user-notes.php?action=edit+19239 http://master.php.net/manage/user-notes.php?action=delete+19239 http://master.php.net/manage/user-notes.php?action=reject+19239

« previous php.notes (#26850) next »