Re: Statement Confusion
| From: | Rouvas Stathis | Date: | Thu, 06 Sep 2001 13:34:36 +0000 |
| Subject: | Re: Statement Confusion | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-66216@lists.php.net to get a copy of this message | ||
Jordan Elver wrote:
>
> Hi,
> Could any one explain what this statemnt means?
>
> $i = (!$i)?"0":$i;
if (!$i) then
$i = "0";
else
$i = $i;
-Stathis
>
> Thanks,
>
> Jord
>
> --
> Jordan Elver
> Web Developer
> The InternetOne UK Ltd
>
> --
> 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