What function does the "?" serve in this code????
Posted: Wed Jul 14, 2004 3:25 pm
I have looked in the Php manual, and looked at all the operators, etc. I can't find any reference to the "?" being used in a function the way that it is used here:
Will someone please tell me about this short cut or whatever it means?? Is it some sort of assignment operator?
Thanks,
Chas
Code: Select all
$text_on_over = (!is_null($text_on_over)) ? $text_on_over : $text;Thanks,
Chas