note 7559 deleted from mysql_affected_rows by ronabop

From: Date: Sat, 02 Sep 2000 06:29:29 +0000
Subject: note 7559 deleted from mysql_affected_rows by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-3926@lists.php.net to get a copy of this message
Effectively, the problem is that mysql_affected_rows takes a database connection link (eg, $db) rather than a result value (eg $res_delete). So, instead of using $successful = mysql_affected_rows($res_delete) change the line to read $successful = mysql_affected_rows($db). And that should solve the problem! Note: this may have come about due to a new release of PHP being installed.

« previous php.notes (#3926) next »