i know that there is a way in php to do an if-then-else on one line other than:
if ($x>$y) { echo $x; } else { echo $y; }
but can't for the life of me remember it. It is something like:
if ($x>$y) ? echo $x : echo $y;
but that isn't quite it. Does anyone know how it is done?