$user="bridgewater";
$pass="5iMoSebi";
$host="localhost";
$dbname="bridgewater_energy_db";
$connection = mysql_connect($host, $user, $pass);
if (!$connection){
echo "Could not connect to database: " .mysql_error();
}
$founddb = mysql_select_db($dbname, $connection);
if (!$founddb){
echo "Could not find DB: " .mysql_error();
}
?> |