Mega Code Archive
When connecting to multiple MySQL servers, a link ID must be generated
For example:
$link1 = @mysql_connect("www.somehost.com", "web", "abcde") or die("Could not connect to MySQL server!");
$link2 = @mysql_connect("www.someotherhost.com", "usr", "secret") or die("Could not connect to MySQL server!");
?>