06-06-2008, 07:38 PM
|
#2 (permalink)
|
|
The Frequenter
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 366
Thanks: 3
|
Well, that's because you don't pass the fourth parameter to the mysql_connect function as true (it's false by default). Add it and then you'll have different connections.
The definition of the mysql_connect function:
Code:
resource mysql_connect ([ string $server [, string $username [, string $password [, bool $new_link [, int $client_flags ]]]]] )
The $new_link is the parameter you need to set to true if you want separate connections.
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
|
|
|
|