RE: [PHP] Like ternary but without the else.

From: Date: Sat, 26 Feb 2005 01:07:15 +0000
Subject: RE: [PHP] Like ternary but without the else.
Groups: php.general 
Request: Send a blank email to php-general+get-209481@lists.php.net to get a copy of this message
Jochem Maas <mailto:jochem@iamjochem.com> 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; } >> >> ?> :)

« previous php.general (#209481) next »