That's (roughly) a shorthand if statement. (if)?(then):(else); So this: if($i==0) { $i++; } else { $i*20; }
Is the same as this: ($i==0)?($i++):($i*20); Jason Soza ----- Original Message ----- From: "Kit Kerbel" <[EMAIL PROTECTED]> Date: Tuesday, July 23, 2002 11:34 am Subject: [PHP-WIN] Syntax > > What, if you please, does this syntax denote exactly. > > ($i==0?($i):($i*20)) > > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php