----- Original Message ----- From: "Justin French" <[EMAIL PROTECTED]> To: "php" <[EMAIL PROTECTED]> Sent: Wednesday, January 15, 2003 8:34 PM Subject: [PHP] alternative control structure syntax
> Can someone point me to the page in the manual where this style of control > structure syntax is documented? > > $var = ($something) ? "foo" : "bah"; It's called 'ternary conditional operator', and is in expressions http://www.php.net/manual/en/language.expressions.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php