somewhere in profile_fields.php, line 882
if ( strpos( $field['visible'], 'user' ) !==
false)
and not just that, there are a lot of occurences of the !==, which i think should
be "!=" (without the qoutes), isn't it?
am i correct guys?![]()
![]()
somewhere in profile_fields.php, line 882
if ( strpos( $field['visible'], 'user' ) !==
false)
and not just that, there are a lot of occurences of the !==, which i think should
be "!=" (without the qoutes), isn't it?
am i correct guys?![]()
![]()
Last edited by nathan; 02-02-2007 at 10:12 PM.
have a look here this might help
http://uk2.php.net/manual/en/languag...comparison.php
able 15.4. Comparison Operators
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. (introduced in PHP 4)
$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. (introduced in PHP 4)
$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.
as you see !== is better validation than just !=
Last edited by ijk; 02-03-2007 at 01:12 PM.
AE Version 4.0 IQ
thanks for the reply.... that cleared my doubts......thank you
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks