Issue here is that even after I make a persistent (or regular connection, it does the same thing) AND use mysql_select_db, it still gives me the dreaded 'No Database Selected' message.
I hope I'm just missing something and it's not a configuration issue...
Here's my connection code:
PHP Code:$hostname_connection1 = "localhost";
$database_connection1 = "thedb";
$username_connection1 = "user";
$password_connection1 = "pass";
$connection1 = mysql_pconnect($hostname_connection1, $username_connection1, $password_connection1) or trigger_error(mysql_error(),E_USER_ERROR);
mysql_select_db($database_connection1, $connection1);


Reply With Quote
Bookmarks