You have the ending } for the if statement? Nate ----- Original Message ----- From: "Matthew Darcy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 12, 2002 12:57 AM Subject: RE: [PHP] a user_auth script. The Script
> was hoping someone else would see the errors I can't. > > I'll re-post the script. > > Matt. > > > -----Original Message----- > From: Jason Wong [mailto:[EMAIL PROTECTED]] > Sent: 12 February 2002 07:04 > To: [EMAIL PROTECTED] > Subject: Re: [PHP] a user_auth script. The Script > > > On Tuesday 12 February 2002 07:11, Matthew Darcy wrote: > > spotted 1 error already missing the starting " after the printf statment. > > > > Any more ? > > > > -----Original Message----- > > From: Matthew Darcy [mailto:[EMAIL PROTECTED]] > > Sent: 11 February 2002 23:09 > > To: Roy Cabaniss; php > > Subject: RE: [PHP] a user_auth script. The Script > > > > > > > > <?php > > > > include("../dbconnect.php"); > > > > if ($submit == "sign!") > > { > > $admin_string_auth=("select account_name, account_password, > > account_admin_level from account_details where > account_name='$login_name'") > > or die ("Cant run auth string"); > > [snip] > > > In cases like these, it is always a good idea to point out which is the line > in question. Earlier posts mentioned line 55, but without manually counting, > how are we going to know which is line 55? Plus, after going through the > mail > system, what was originally line 55, may not be line 55 anymore. > > > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.com.hk > > /* > George Orwell 1984. Northwestern 0. > -- Chicago Reader 10/15/82 > */ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php