[PHP] Re: shorthand "if" notation

2003-06-12 Thread Pete Morganic
Its a ternary operator look at http://www.phpbuilder.com/board/showthread.php?threadid=10235547 http://www.phpbeginner.com/columns/maxim/ternary pete Adrian Greeman wrote: I am confused by the shorthand "if" notation. For example I just saw this PHP snippet on another forum I think it is an if

[PHP] Re: shorthand "if" notation

2003-06-11 Thread Shawn McKenzie
Ternary operator. Look in the comparison operators section: http://us2.php.net/manual/en/language.operators.comparison.php -Shawn "Adrian Greeman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I am confused by the shorthand "if" notation. > For example I just saw this PHP snipp