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

Reply via email to