Re: Re: 1 last error to fix before the application is done!
| From: | Jason Pruim | Date: | Tue, 14 Oct 2008 15:13:36 +0000 |
| Subject: | Re: Re: 1 last error to fix before the application is done! | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-281886@lists.php.net to get a copy of this message | ||
On Oct 14, 2008, at 11:05 AM, Wolf wrote:
<!-- SNIP -->I have used ! a fair amount just never looked into it outside of isset :PDoes the ! reverse the empty in this case? such as !empty = not empty?You definitely have to go walk the plank now... You have to go back and re-write code and make it more compact now, right? tsk, tsk. I thought we taught you better then that.
! is the NOT operator in many languages. So instead of something like this: if ($employee_login == "true" || $employee_loggin == "break") You could do: if ($employee_login != "off") Don't worry, it should be quick, we've been chumming the water. ;)Gee thanks :P At least I won't limp away from it :P -- Jason Pruim Raoset Inc. Technology Manager MQC Specialist 11287 James St Holland, MI 49424 www.raoset.com japruim@raoset.com