note 11151 deleted from mysql_num_rows by danbeck

From: Date: Thu, 08 Mar 2001 21:24:09 +0000
Subject: note 11151 deleted from mysql_num_rows by danbeck
Groups: php.notes 
Request: Send a blank email to php-notes+get-12068@lists.php.net to get a copy of this message
After testing this function with a table with over ~36.000 records (remember this magic number, eh *g*) the function returns an error: "not able to save resultset". workaround: count the records via sql "select count(*) NUMROWS FROM tablename" and read number of records with "x = $row["NUMROWS]" (mysql_fetch_array before!). fix: mysql_numrows must return an other greater type of value (e.g. long).

« previous php.notes (#12068) next »