Thread: Problem xD
View Single Post
Old 02-06-2008, 08:16 AM   #4 (permalink)
Tanax
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

Quote:
Originally Posted by Alan @ CIT View Post
I guess the first step would be to figure out where it is getting to in your script. Can you put some die()/var_dump() combo's in each of your if() checks to see which ones are running and whether they contain the variables you expected?

That should give us a clue as to what stage it is dying on.

Alan
Actually, I solved it
I set the name of the login button to "login", and I checked for if($_POST['submit']), so obviously, I had to either change that to if($_POST['login']), or change the submit button to name="submit".

Anyways, thanks
__________________
Tanax is offline  
Reply With Quote