Posted by Rich on 10/04/96 11:09
I couldn't find this anywhere on google or PHP's site but I'm pretty sure there's an answer to it. How can I turn the following into something that resembles the ternary operator? <?php if($something) { $this = $that; } ?> is this what you're after? $this = ($something ? $that : $this) rich
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming