note 9588 deleted from mysql_affected_rows by danbeck

From: Date: Thu, 08 Mar 2001 21:17:07 +0000
Subject: note 9588 deleted from mysql_affected_rows by danbeck
Groups: php.notes 
Request: Send a blank email to php-notes+get-12067@lists.php.net to get a copy of this message
Note that mysql_affected_rows() does not have the same syntax as mysql_num_rows(), this confused me for a while. mysql_num_rows() expects that you'll give it the result of mysql_query(), but mysql_affected_rows() wants the database identifier as returned from mysql_connect(), or just skip the argument if you only use one database...

« previous php.notes (#12067) next »