[PHP] Re: Unknown Syntax

2003-07-11 Thread erythros
two equal signs means 'equal to' so '!==' means 'not equal to' one equal sign sets a value. ie... x = 2; // x is set to the value of 2 if(x!==3) // checks if the value of x is not equal to 3 as for != i've never seen it with just one equal sign... Chris Morrow [EMAIL PROTECTED] wrote in

[PHP] Re: Unknown Syntax

2003-07-11 Thread Chris Morrow
I Found this on the PHP.net site, maybe it will clear things up. Thanks for your help everyone. Example Name Result $a == $b Equal TRUE if $a is equal to $b. $a === $b Identical TRUE if $a is equal to $b, and they are of the same type. (PHP 4 only) $a != $b Not equal TRUE