A
Anonymous
Guest
I've got a problem.
my code is not giving an error when it's supposed to.
it correctly errors out if the $db_user actually exists or if $db_pass has a value($db_user remaining null), if the user does not exist and a password is not set script does not die.
anyone?
my code is not giving an error when it's supposed to.
Code:
$db = MYSQL_CONNECT($db_host,$db_user,$db_pass) or die("Could not connect: " . mysql_error());
echo 'Connection Complete';
it correctly errors out if the $db_user actually exists or if $db_pass has a value($db_user remaining null), if the user does not exist and a password is not set script does not die.
anyone?