[Fixed] Re: [PHP-DB] Queries from two databases don't work

From: Date: Thu, 19 Jul 2007 08:41:32 +0000
Subject: [Fixed] Re: [PHP-DB] Queries from two databases don't work
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-43805@lists.php.net to get a copy of this message
You cannot open two database connections using _pconnect with exactly the same information. You need to use _connect and make sure you specify the $new_link parameter.
In fact I used mysql_connect() at first and I didn't work either, so I tried a lot of different tests and one of them was using mysql_pconnect(). Anyway, yes it was the $new_link parameter. That "optional" parameters drive me mad. Thank you very much.

« previous php.db (#43805) next »