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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Oct 14, 2008, at 11:05 AM, Wolf wrote:

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

I have used ! a fair amount just never looked into it outside of isset :P



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





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux