Well own forums are always better, but yes it's possible to load from different hosts.
A configuration array would be:
You need to change the "host" and point it to a remote host. And also use the user and password that one db uses..
Everything other is simple mysql_connect, mysql_select, mysql_query, etc..
Here is a simple connection tut.
http://www.supportforums.net/showthread.php?tid=116
A configuration array would be:
PHP Code:
$config = array(
'host' => 'localhost', // or you change it to your diff sql host ex: sql.example.com
'user' => 'root',
'pass' => '',
'base' => 'game_users'
)
You need to change the "host" and point it to a remote host. And also use the user and password that one db uses..
Everything other is simple mysql_connect, mysql_select, mysql_query, etc..
Here is a simple connection tut.
http://www.supportforums.net/showthread.php?tid=116