Introducing G2.ai, the future of software buying.Try now
MARIA G C.
MC
Especialista en desarrollo en Ford Motor Company

YOU CAN WORK WITH TWO DATABASE AT THE SAME TIME

YOU CAN WORK WITH TWO DATABASE AT THE SAME TIME THAT YOU CAN CREATE BOTH OR I HAVE TO CREATE ONE AND THEN ANOTHER
1 comment
Looks like you’re not logged in.
Users need to be logged in to answer questions
Log In
KJ
0
Just create a seperate handle for each database when connecting. Address each database with its own handle. example: $db1 = connect_db (host, user, pwd); mysql_select_db (db_name_1', $db1); $db2= connect_db (host, user, pwd); mysql_select_db (db_name_1', $db2);
Looks like you’re not logged in.
Users need to be logged in to write comments
Log In
Reply