A compact (if cryptic) shorthand is useful:
echo "var is ".($var < 0 ? "negative" : "positive");
is equivalent to:
echo "var is ";
if ($var < 0)
echo "negative";
else
echo "positive";
The shorthand can be considered (expression ? true_value : false_value) where 'expression' is evaluated and, if true, the 'true_value' is returned, otherwise the 'false_value' is returned.
Hi,
Everything dynamic and very positively! :)
Have a nice day
Zoran
Posted by: Zoran | March 02, 2009 at 09:22 AM
Hi, glad to come your comments. Believe us is predestined friends the human to interrupt you a few minutes, Nike shoes, you must be SHOX column is also know, if not know so much more needs to know more, after all, a wise choice than a shopping. Because of the network marketing, we are relative price and the price on the shop is very favorable price is cheap, of course, quality absolutely no discount. We are interested to see the site. Thank you for your valuable time.
Posted by: Nike Shox Rivalry | September 12, 2010 at 09:11 PM
I have just finished the article.It is the first time for me to read the whole post carefully,I always just look through the article,and forget quickly.But I had save your articl,it is more than useful to me.
Posted by: christian louboutin | November 01, 2010 at 11:41 PM