RE: [PHP] Re: User accounts

2002-03-08 Thread Tim Ward
.chessish.com> -- From: Kevin Stone [SMTP:[EMAIL PROTECTED]] Sent: 07 March 2002 23:56 To: 'David Johansen'; [EMAIL PROTECTED] Subject: RE: [PHP] Re: User accounts I understand your confusion. The thing is that empty() and ! are two

RE: [PHP] Re: User accounts

2002-03-07 Thread Kevin Stone
I understand your confusion. The thing is that empty() and ! are two completely different arguments. if(empty($var)) is looking for: $var = ''; if(!$var) is looking for: $var = false; or $var = 0; If $var is set to anything other than 0 or false then the ASCII value of the string is (by defini