--- Original Message -
From: "Robert J Sherman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 11:16 PM
Subject: Re: [PHP-WIN] Re: Password Protection
> It would also be considered more correct to use curly "{ }" to open and
> clo
It would also be considered more correct to use curly "{ }" to open and
close conditionals.. rather than ":" and end if/end else, etc..
"Erin'S Fan Club" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> It is more correct to use 'else' as a default error catch
It is more correct to use 'else' as a default error catch. It is
far better to turn it aroud like;
= Original Message From "elias" <[EMAIL PROTECTED]> =
>try like that:
>$result = mysql_query("SELECT password FROM newsauthors WHERE author='$name'
>AND password='$code'");
>if (mysql_num_ro