I know little about writing VB scrips / mods, but I am trying to use the VB config.php to access the DB from another part of my site.
With the DB settings set to this in config.php...
PHP Code:
$config['MasterServer']['servername'] = 'myserver';
$config['MasterServer']['port'] = 3306;
$config['MasterServer']['username'] = 'myusername';
$config['MasterServer']['password'] = 'mypassword';
... can someone please help me write the connect code?
Let's say the config.sys file is in:
Code:
http://www.mysite.com/forum/includes/
Thanks!