Oopps! Now, I see a space between 'die' and ('bah'). You can't have that space there. But, if php is parsing that part of the statement, I think your query is failing. I believe php will skip the second part of the or statement when the first portion is true because you only need one part of an or to be true for the whole thing to be true. If the first part of the or fails, then php goes to the second part to check if it is true.
Actually, if you are getting a parse error, then none of the above is happening.