note 78369 rejected from function.mysql-num-rows by nlopess

From: Date: Mon, 08 Oct 2007 19:40:48 +0000
Subject: note 78369 rejected from function.mysql-num-rows by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-131239@lists.php.net to get a copy of this message
Note Submitter: avbica at gmail dot com ---- 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.

« previous php.notes (#131239) next »