RE: [PHP-DB] headers and if statements

From: Date: Fri, 30 Apr 2004 21:28:16 +0000
Subject: RE: [PHP-DB] headers and if statements
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-34221@lists.php.net to get a copy of this message
Have you tried: <?php if (!$login=1) {header("Location: loginerror.php");)?> -----Original Message----- From: Daniel Clark [mailto:dclark@nwlink.com] Sent: Friday, April 30, 2004 4:19 PM To: matthew perry Cc: php-db@lists.php.net Subject: Re: [PHP-DB] headers and if statements Hum. Is $logIn null at times?!?! > <?if($logIn != 1) {header("Location: loginError.php");}?> > > Why does this direct me to loginError.php even when $logIn = 1? > > - Matt -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.db (#34221) next »