$db_conn = mysql_connect ("imaginaryhost", "rntsoft", "password");
// If no db connection, exit script
if(!$db_conn)
{
print("I could not connect to the database! :(
");
print("This script will now exit
");
exit;
}
mysql_close($db_conn);
?>