03-01-2008, 11:51 AM
|
#5 (permalink)
|
|
The Contributor
Join Date: Jan 2008
Posts: 27
Thanks: 1
|
Quote:
Originally Posted by Alan @ CIT
What happens if you echo $_SESSION['id'] though? Your if() check looks to see if $_SESSION['id'] is set. If it isn't, it redirects you to login.php. Since you are getting redirected there is a good chance that $_SESSION['id'] isn't set
Alan
|
Okay. But I can run the script when I am "logged in", but as soon as I run the form when I am logged in, i am getting redirected.
|
|
|
|