Re: headers and if statements
| From: | John W. Holmes | Date: | Fri, 30 Apr 2004 21:31:29 +0000 |
| Subject: | Re: headers and if statements | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-34222@lists.php.net to get a copy of this message | ||
From: "matthew perry" <mwperry@mail.uh.edu>
> <?if($logIn != 1) {header("Location: loginError.php");}?>
>
> Why does this direct me to loginError.php even when $logIn = 1?
It doesn't. Double check your value of $logIn by printing it out or using
print_r/vardump/etc...
---John Holmes...