03-01-2008, 12:06 AM
|
#4 (permalink)
|
|
The Frequenter
Join Date: Apr 2005
Location: South UK
Posts: 483
Thanks: 51
|
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
|
|
|