Look at this code:
$resolve='whatever you want to put here';
$resolve = (preg_match('/false|no|off/i', $resolve))?false:true;
If I var_dump $resolve after this, and it contains the word "false", "no" and/or "off" I get bool(false) Otherwise I get bool(true). How exactly is it doing that, though? What role does "?false:true" play in this?
I want to know what this is, it looks handy.