Posted by Colin McKinnon on 06/14/05 16:01
Ron Eggler @ work wrote:
> 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]
> Scofieldada@softhome.net
> <br>
> Scofieldada@softhome.net was passed<br>
> not yet!<br>
They're not the same - $buffer ends in a newline char.
try
if (trim($buffer)==$email){
although that does not allow for capitalization.
HTH
C.
[Back to original message]
|