note 78369 added to function.mysql-num-rows

From: Date: Mon, 08 Oct 2007 19:23:57 +0000
Subject: note 78369 added to function.mysql-num-rows
Groups: php.notes 
Request: Send a blank email to php-notes+get-131238@lists.php.net to get a copy of this message
Typer85 at gmail dot com: Is it possible that the mysql_connect reuse the connection and you will have the same mysql connection for both selects? Is it possible that for 2 separate HTTP requests the mysql connection to be reused? Because I do believe that the FOUND_ROWS() result is kept per connection and not only one for entire mysql server (all the connections). Maybe forcing new connection with the new_link parameter in mysql_connect will solve the problem. ---- Server IP: 69.147.83.197 Probable Submitter: 86.125.167.54 ---- Manual Page -- http://www.php.net/manual/en/function.mysql-num-rows.php Edit -- https://master.php.net/note/edit/78369 Del: integrated -- https://master.php.net/note/delete/78369/integrated Del: useless -- https://master.php.net/note/delete/78369/useless Del: bad code -- https://master.php.net/note/delete/78369/bad+code Del: spam -- https://master.php.net/note/delete/78369/spam Del: non-english -- https://master.php.net/note/delete/78369/non-english Del: in docs -- https://master.php.net/note/delete/78369/in+docs Del: other reasons-- https://master.php.net/note/delete/78369 Reject -- https://master.php.net/note/reject/78369 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#131238) next »