note 60131 added to function.mysql-num-rows

From: Date: Tue, 27 Dec 2005 16:28:49 +0000
Subject: note 60131 added to function.mysql-num-rows
Groups: php.notes 
Request: Send a blank email to php-notes+get-100801@lists.php.net to get a copy of this message
If you have a problem using: $res1=mysql_query("select SQL_CALC_FOUND_ROWS * from minutabel LIMIT 20"); $res2=mysql_query("select FOUND_ROWS()"); ($res2 got always "0") then be sure the php.ini config option "mysql.trace_mode" is "Off". You can use $vana=ini_set('mysql.trace_mode','Off'); // do your $res1 and $res2 queries. ini_set('mysql.trace_mode',$vana); for temporary disabling. ---- Manual Page -- http://www.php.net/manual/en/function.mysql-num-rows.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+60131 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60131&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60131&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60131&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60131&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60131&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60131&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60131&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+60131&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#100801) next »