the docu page is http://de3.php.net/manual/en/language.expressions.php , somewhere in the text:
There is one more expression that may seem odd if you haven't seen it in other languages, the ternary conditional operator:
<?php
$first ? $second : $third
?>
If the value of the first subexpression is TRUE (non-zero), then the second subexpression is evaluated, and that is the result of the conditional expression. Otherwise, the third subexpression is evaluated, and that is the value.
I.e., if u want a string to be "yes" or "no" depending on the value of some boolean var, u could do it -very straightforward- like this:
$isTrue = $boolVar ? "yes" : "no";
hth