note 11751 deleted from mysql_affected_rows by danbeck

From: Date: Thu, 08 Mar 2001 20:59:41 +0000
Subject: note 11751 deleted from mysql_affected_rows by danbeck
Groups: php.notes 
Request: Send a blank email to php-notes+get-12064@lists.php.net to get a copy of this message
OOPS!!!... my above code is wrong! Sorry for the confusion. The reason that mysql_affected_rows() does not return the number of affected rows is because this function is used only to see the # of records affected by an UPDATE query. SELECT does not alter the database so hence no "records affected."

« previous php.notes (#12064) next »