hi all
i want to use and connect two databases together.
i m connecting first database file "config.php" through this code
second database file "config2.php" through this codePHP Code:$conn=mysql_connect("localhost","root","") or die(mysql_error());
mysql_select_db("tally",$conn);
session_start();
$unique_id=session_id();
in my webpage i m calling them asPHP Code:$conn2=mysql_connect("localhost","root","") or die(mysql_error());
mysql_select_db("repair_data",$conn2);
session_start();
$unique_id=session_id();
i m not able to connect to both dbs together.Code:require_once("config.php"); require_once("config2.php");
vineet







Bookmarks