|
$user="root";
$pass="5iMoSebi";
$host="localhost";
$dbname="signumdb";
$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();
}
?>
|