I noticed that the presence of ,|| die(..., on the right of
$res = mysql_query($sql), leads to $res to handle a strange value it's namely equls to 1, instead of handling a resource id of the resulting query. Now I think the problem base is located inside || die.
Hence, I'd like to ask what's (or die, || die) do ? or what's its effect on the previouse function execution?
I think the value of 1 which is handled in $res during the presence of || die means true. So Why The $res carried The returned value by || die and it scaped or does not regard the value returned by mysql_query()?