Web Programming

Only members of this group can post notes and use other group resources. Join now to get access to all group resources!
Log in or register to join this group

PHP Connect to Multiple MySQL Databases  Viewed 46366 time(s), 2 post(s)., 1/10/2014 5:00:48 AM - by Khalid

Khalid 1/10/2014 5:00:48 AM

How can I use mysql_connect command to connect to multiple MySQL databases?

This content has not been rated yet. 
113 Reputation 7 Total posts
Raji 1/11/2014 12:36:22 AM

You need to call mysql_connect() for each database connection. If the parameters are the same, you need to pass 'true' for the fourth parameter

This content has not been rated yet. 
61 Reputation 12 Total posts