note 10401 deleted from Comparison Operators by jimw
| From: | jimw@php.net | Date: | Thu, 11 Jan 2001 03:00:04 +0000 |
| Subject: | note 10401 deleted from Comparison Operators by jimw | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9617@lists.php.net to get a copy of this message | ||
The echo in the previous post will work if the ternary expression is enclosed in ()
echo "You have had a fat butt for $x day". ( ($days>1) ? "s" : "" )
."n";