$x ? action1 : action2;
> structure... > > It looked something like: > > $x : action1 : action2; > > I'm trying to shorten having to do the following: > > if ($x) { > action1; > } else { > action 2; > } > > can someone please post the syntax if they know it? I am reading the > fine documentation but can't find it... > > many thanks > > Ahbaid > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php