![]() |
Admin Login?
Alright so working on a new project since i finished my other one and im trying some new concepts with this one. but it seems to not be working.
for some reason It wont read my database and log me in. PHP Code:
|
You could try putting the MD5 within the query itself, I don't know if that will help. It might be worth a try. If you do try that, make sure you comment out the line earlier where you use MD5 on the password variable.
PHP Code:
In your original query, just add the user ID column to your SELECT statement. That way, when it is valid you can just get the ID. You don't need that WHILE loop in there... |
aha! i got it :D was a simple mistake:
the code was calling to post user and pass from the form, where the actual form i called them username and password. Also i will look into doing what you suggested. |
| All times are GMT. The time now is 01:26 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0