Re: Testing Variables
| From: | Gerard Samuel | Date: | Thu, 02 Oct 2003 04:41:15 +0000 |
| Subject: | Re: Testing Variables | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164685@lists.php.net to get a copy of this message | ||
Curt Zirzow wrote:
Yep. Just make sure you dont start speaking english like that, people will look at you funny, or think your yoda :) if ('away' == $put_your_weapon) { $harm = false; } /* Away put your weapon, I mean you no harm */ or if ( 'help' == $you_can ) { hmm(); } /* Help you can, Hmm! */ Or more popular: if ($do || false == $do ) { try(); } /* Do, or do not. There is no try. */ Definately funny :)