On 13.03.2006 18:05, Nick Mitin wrote:
I was trying to create 2 mysql connections.
$l1 = mysql_pconnect(“localhost”, “user”, “pass”);
mysql_select_db(“db1”, $l1);
$l2 = mysql_pconnect(“localhost”, “user”, “pass”);
mysql_select_db(“db1”, $l2);
The $l1 and $l2 now contains different resource ids
I was trying to create 2 mysql connections.
$l1 = mysql_pconnect(“localhost”, “user”, “pass”);
mysql_select_db(“db1”, $l1);
$l2 = mysql_pconnect(“localhost”, “user”, “pass”);
mysql_select_db(“db1”, $l2);
The $l1 and $l2 now contains different resource ids (#1, #2), but
mysql_query(“select * fro