View Single Post
  #12 (permalink)  
Old 08-19-2008, 09:41 AM
morefood2001's Avatar   
morefood2001 morefood2001 is offline
Guru
 
Join Date: Jan 2008
Location: Western New York
Posts: 1,454
Last Blog:
VPS Hosting with Revie...
Credits: 0
Rep Power: 16
morefood2001 is just really nicemorefood2001 is just really nicemorefood2001 is just really nicemorefood2001 is just really nice
Send a message via AIM to morefood2001 Send a message via MSN to morefood2001 Send a message via Yahoo to morefood2001 Send a message via Skype™ to morefood2001
Default Re: User auth and ID questions

Look at your login.php file, particularly the mysql query. I'm not sure if this is it, but I never call php functions inside queries. I doubt this is it, but it could be the problem. Also try explicitly defining * in the query to return only row_id since you only require that value.

As for logging out, I don't think you want $_SESSION = array(); in your code, I've never used that and don't know why its there.

If you are still having problems, I will attempt to run it and look more closely at it.
Reply With Quote