RE: Like ternary but without the else.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jochem Maas <mailto:jochem@xxxxxxxxxxxxx>
    on Friday, February 25, 2005 4:04 PM said:

> just do:
> 
> if ($something) $this = $that;

>> Thanks!
>> Chris.
>> 
>> p.s. No need to respond if your suggestion is:
>> 
>> <?php
>> 
>>   if($something) { $this = $that; }
>>
>> ?>

:)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux