I am trying to remember the syntax of the short form of an if-else but can not and do not see if in the manual anywhere.
Thanks
<http://www.php.net/manual/language.operators.comparison.php>
I think this is what you are looking for:
(expr1) ? (expr2) : (expr3);
This expression evaluates to expr2 if expr1 evaluates to true, and expr3 if expr1 evaluates to false.