PHP error--login script

Alex

New Member
I am unable to login with my script. When I click on "login", the page seems to refresh, but it does nothing besides that. The register.php works perfectly, but there seems to be something wrong with the login.php. I'm also getting some message that says, "Notice: Undefined variable: act in C:\wamp\www\youtube\login.php on line 74." But that's probably not the issue (I've had that with the register script before and it worked fine; I think that's just some warning, not an actual error).

The order of the columns in my table is id, full_name, email, username and password (if that changes anything).

Could you please help me out with this?

Here is the register.php: http://pastebin.com/tRK803AY
Here is the login.php: http://pastebin.com/1LUtsH4q

Thanks again

Oh and I'm doing this on WAMP (once again, the register.php works perfectly on it)
 
Top