Hi,
I want to compare two Strings and I don't know how. Following HTML-Output is
the result of the below code. why?
The Strings are the same but the if() is false, why? Thank you!
HTML |
[Email Removed] <br> [Email Removed] was passed<br> not yet!<br> |
QUOTE |
Hi, I want to compare two Strings and I don't know how. Following HTML-Output is the result of the below code. why? The Strings are the same but the if() is false, why? Thank you! [HTML] [Email Removed] <br [Email Removed] was passed<br not yet!<br |
QUOTE | ||
Hi, I want to compare two Strings and I don't know how. Following HTML-Output is the result of the below code. why? The Strings are the same but the if() is false, why? Thank you!
[PHP] echo $buffer."<br>n"; echo $email." was passed<br>n"; if ($buffer==$email) { echo "string already exists!<br>n"; return true; } else { echo "not yet!<br>n"; } [/PHP] |