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
Bob Lockie wrote:
No syntax error but this always returns 's'.
$add = $delete_count > 0 ? "s" : "x";
That means $delete_count is always greater than 0
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No syntax error but this always returns 's'.
$add = $delete_count > 0 ? "s" : "x";
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
3 matches
Mail list logo