I don't know much about how to change the MySQL connection. My brother usually does that stuff, but he's at class at the moment. If you could tell me what to look for [what the connection code looks like] I could try and figure it out.
Which looks more like the connecting code:
$CONNECT_SLAVE = myC("SLAVE");
$CONNECT_MASTER = myC("MASTER");
.. both of which go to a function which does this:
$link_identifier = mysql_connect($_DB[$server_group][$r]['IP'], $_DB[$server_group][$r]['USER'], $_DB[$server_group][$r]['PASS']) or error_mysql("Connect - ".$_DB[$server_group][$r]['PASS']);
or
mysql_query("USE `".$database."`", $link_identifier) or error_mysql("USE `".$database."`");
or
$resource = mysql_query("$query", $link_identifier) or error_mysql($query);
I know I'm an idiot, but thanks for the help.