View Single Post
Old 10-23-2008, 02:43 PM  
jwerd
Confirmed User
 
Industry Role:
Join Date: Jun 2003
Location: Costa Rica
Posts: 1,953
Quote:
Originally Posted by Retox Josh View Post
if($sands == 'cool') echo 'Yaaay!'; else echo 'Booo!';
PHP Code:
echo ($sands == 'cool') ? "Yaaay!" "Booo!"
__________________
Yii Framework Guru - Seasoned PHP vet - Partner @ XXXCoupon.com
jwerd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote