List Info

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




note 78369 rejected from function.mysql-num-rows by nlopess
user name
2007-10-08 14:40:48
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.

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )