Re[2]: [PHP-DB] More help with mysql -- solved (bizarre)

2003-02-18 Thread Max 'AMiGo' Gashkov
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)) {

RE: Re[2]: [PHP-DB] More help with mysql -- solved (bizarre)

2003-02-18 Thread Clarkson, Nick
] 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