Comment Re:take it from a pro (Score 1) 298
I think i can shed light on this subject, having several years experience in this field. New programmers and seasoned alike often make this mistake, either through carelessness or ignorance. When working to write good code, you must make sure to set good="yes" or good="veryyes." ive written code for 20 years now and this has only ever failed me in PHP. Apparently the language does not support "good" code.
Don't forget to check $_GOOD correctly.
You have to evaluate "veryyes" == $_GOOD like this:
if (("veryyes" == $_GOOD) !== false) {...}
otherwise
$_GOOD = "kindaSoSo" and $_GOOD = "sortaOk" will both cause "veryyes" == $_GOOD to evaluate to true.