ID:               29004
 Updated by:       [EMAIL PROTECTED]
 Reported By:      quique at nlared dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         MySQL related
 Operating System: windows 2003 amd64
 PHP Version:      4.3.7
 New Comment:

mysql_connect doesn't select or change the database.  
Please check the documentation for mysql_connect  
( http://www.php.net/manual/en/ 
function.mysql-connect.php )  


Previous Comments:
------------------------------------------------------------------------

[2004-07-03 21:51:34] quique at nlared dot com

Description:
------------
When use two connection for use diferent database in the same server
the first connetion change database when you connect with the second
connection 


Reproduce code:
---------------
$dbconnect1=mysql_connect($server,$user$pass,$db1)
$dbconnect2=mysql_connect($server,$user$pass,$db2)
now $dbconnect1 is using $db2



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29004&edit=1

Reply via email to