OK, now I see 8)
$result after your operations contains not SQL result, it's value is 1 (logical
TRUE) -- result of logical operation
mysql_query(SELECT * FROM SOME_TABLE) || die(
If you want to exit after error try this construction:
if(!mysql_query(SELECT * FROM SOME_TABLE))
{
]
Subject: Re[2]: [PHP-DB] More help with mysql -- solved (bizarre)
OK, now I see 8)
$result after your operations contains not SQL result, it's value is 1
(logical
TRUE) -- result of logical operation
mysql_query(SELECT * FROM SOME_TABLE) || die(
If you want to exit after error try