<?
//this connection works fine
require ("makodata_connect1.php");
//the area code doesn't exist in my database
$result=mysql_query
("SELECT * FROM user_data
WHERE phone_area='444'")
//the query should die here, but doesn't!
or die ("no record");
?>
I've also tried an if/else statement but get similarly strange results.
if(!$result)
{die ("no record found");
}
but the same thing happens! I goes right past it as if it weren't even there.
Does anyone have any suggestions??