whats wrong with this PHP login script? I keep having to login twice and logout twice?!?

  • Thread starter Thread starter Drew
  • Start date Start date
D

Drew

Guest
FORM.PHP
http://www.aplusequalsb.com/leesville/form.txt
INDEX.PHP
http://www.aplusequalsb.com/leesville/index.txt
LOGIN.PHP (login SQL Script)
http://www.aplusequalsb.com/leesville/login.txt

here is the link

www.aplusequalsb.com/leesville/index.php



USERNAME:DREW
PASSWORD:DREW


The fields in the database look like this:

http://dc117.2shared.com/download/5496791/69b0f261/problem.bmp?tsid=20090425-210524-ec19eb1

also, it only recognizes Matt, not drew. For some reason it skips over the first username.

Any Ideas?

Thanks
 
Back
Top