View Single Post
02-18-2007, 11:56 PM
#10
Impluo is offline Impluo
Status: We're all mad here
Join date: Aug 2005
Location: Missouri
Expertise: programming
Software: Notepad
 
Posts: 1,606
iTrader: 0 / 0%
 

Impluo is on a distinguished road

  Old

Originally Posted by derek lapp View Post
for single statements, you're better off using the ? operator anyways.

PHP Code:
<?= $==10 'it's 10' : 'it's not 10'?>
Thanks for that method, I like it without the if/else and brackets