Re: [PHP] Re: 1 last error to fix before the application is done!



<!-- 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

.



Relevant Pages