Re: Database connections

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

 



Chris wrote:
Jasper Bryant-Greene wrote:
Chris wrote:

If they're accessing the same database you don't need to disconnect/reconnect. Different db's - well, yeh you don't have a choice.


Of course you do. mysql_select_db() or whatever it's called. Or just issue a USE [databasename] query. No need to reconnect!


Only if you are using the same username/password, but you're right, it is an option.

the other option here would if he was having to change the user name and password would be

http://us2.php.net/manual/en/function.mysql-change-user.php


have fun


Jim

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux