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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux