I am testing now testing it with the ==, silly mistake -----Original Message----- From: John W. Holmes [mailto:holmes072000@xxxxxxxxxxx] Sent: Friday, April 30, 2004 4:38 PM To: Erik Meyer; PHP-DB Subject: Re: headers and if statements From: "Erik Meyer" <emeyer@xxxxxxxxxxxx> > Have you tried: > <?php if (!$login=1) {header("Location: loginerror.php");)?> Uhmm... Have _YOU_ tried that??? = vs == ? ;) ---John Holmes... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php