note 7350 deleted from mysql_affected_rows by ronabop

From: Date: Sat, 02 Sep 2000 06:28:49 +0000
Subject: note 7350 deleted from mysql_affected_rows by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-3924@lists.php.net to get a copy of this message
Hi. The application was working perfectly for seven months until now that mysql_affected_rows functions doesn't work. The parameter is a number. I place intVal around to prevent a string to be passed. I can't use it. Any ideas. Please answer and email me at jbernal@populuxe.com. Thanks. Javier <pre>$sql_delete = "DELETE FROM section WHERE section_id '$section_to_delete'"; $res_delete = mysql_query($sql_delete, $db); $successful = mysql_affected_rows($res_delete);</pre> error given <pre>Warning: Supplied argument is not a valid MySQL-Link resource </pre>

« previous php.notes (#3924) next »