Do you know basical php if() condition right? But, my questions is : do you know the short way? If not, I will show you the diferrence,:
<?php $a=1; $b=3; $c = $a+$b; //THE SHORT WAY COMES print $c == 3 ? "yes $c = 3" : "no $c != 3"; //THE "COMMON" WAY SAME THING if($c ==3) { print "yes $c = 3"; }else{ print "no $c != 3"; } ?>
Would have been more useful to refer to it in its more widely-known name: shorthand if. Bit better for some google visits I mean.
hmm didn’t know that name but I added that tag too, thanks for your time