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 if $a is not equal to $b.
      $a <> $b Not equal TRUE if $a is not equal to $b.
      $a !== $b Not identical TRUE if $a is not equal to $b, or they are not
of the same type. (PHP 4 only)
      $a < $b Less than TRUE if $a is strictly less than $b.
      $a > $b Greater than TRUE if $a is strictly greater than $b.
      $a <= $b Less than or equal to  TRUE if $a is less than or equal to
$b.
      $a >= $b Greater than or equal to  TRUE if $a is greater than or equal
to $b.


Cheers,
Chris


"Erythros" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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 message
> news:[EMAIL PROTECTED]
> > Does anybody recognize this:
> >
> > !==
> >
> > with 2 '='
> >
> > Ive known != to mean not equal to but i'm just looking at someone elses
> > script and they use this instead. Does anyone know if this works or any
> > problems with it?
> >
> > Cheers
> >
> >
>
>



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

Reply via email to