FederalProgrammer
Programmer
in this following line of code:
is there a way to see why I'm getting "Unable to select Database". I want to see what error has caused the "Die" to run...
By the way, this code works on one of my servers and doesn't work on the other!!!! (I have made sure to change the username and passwords accordingly though)
---------------
Code:
$connection = mysql_connect($connect_host,$connect_user,$connect_password) or Die("Unable to connect to database.");
$selection = mysql_select_db($connect_database) or Die("Unable to select database");
is there a way to see why I'm getting "Unable to select Database". I want to see what error has caused the "Die" to run...
By the way, this code works on one of my servers and doesn't work on the other!!!! (I have made sure to change the username and passwords accordingly though)
---------------