note 11031 deleted from mysql_affected_rows by danbeck

From: Date: Thu, 08 Mar 2001 20:59:03 +0000
Subject: note 11031 deleted from mysql_affected_rows by danbeck
Groups: php.notes 
Request: Send a blank email to php-notes+get-12061@lists.php.net to get a copy of this message
it seems like mysql_affected_rows() _does_ work when using a select statement. is the manual outdated, or is this a bug ? $sqlstat1 = "select * from ".$table." where newsid = ".$newsid." order by commentid DESC"; $result_handle1 = mysql_db_query($dbase, $sqlstat1); $a_comments = mysql_affected_rows(); $a_comments does return the number of selected rows ...

« previous php.notes (#12061) next »