Re: Re: 1 last error to fix before the application is done!
| From: | Wolf | Date: | Tue, 14 Oct 2008 15:05:09 +0000 |
| Subject: | Re: Re: 1 last error to fix before the application is done! | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-281883@lists.php.net to get a copy of this message | ||
<!-- SNIP -->
> Does 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. ;)
HTH,
Wolf