Re: What does a ? do
| From: | Rick St Jean | Date: | Tue, 20 Mar 2001 20:29:43 +0000 |
| Subject: | Re: What does a ? do | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44825@lists.php.net to get a copy of this message | ||
http://www.php.net/manual/it/html/language.operators.comparison.html#AEN3156
called a trinary operator
At 12:08 PM 3/20/01 -0800, Brandon Orther wrote:
heloo, Could someone plese explain this line if code??? What does the "?" do? $r = ($r < 1) ? $config['maxResults'] : $r; Thank you, -------------------------------------------- Brandon Orther WebIntellects Design/Development Manager brandon@webintellects.com 800-994-6364 www.webintellects.com -------------------------------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net########################################################## # Rick St Jean, # rstjean@internet.look.ca # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ##########################################################