Re: shortcut if
| From: | John W. Holmes | Date: | Mon, 31 May 2004 22:43:17 +0000 |
| Subject: | Re: shortcut if | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187312@lists.php.net to get a copy of this message | ||
Bob Lockie wrote:
No syntax error but this always returns 's'. $add = $delete_count > 0 ? "s" : "x";Hmm.. that's odd because if(false) { return false; } always returns false for me... -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com