Phantom
04-06-2003, 03:35 PM
$link = mysql_connect("$config['db_host']","$config['db_user']","$config['db_pass']");
mysql_select_db("$config['db_name']");
That's the part of my code in an include file that's included in all of my game's files. Yet I get an error saying "No Database Selected" in the login and register files (which are the only files as of yet that use the database). Can anyone help me?
mysql_select_db("$config['db_name']");
That's the part of my code in an include file that's included in all of my game's files. Yet I get an error saying "No Database Selected" in the login and register files (which are the only files as of yet that use the database). Can anyone help me?