+ 1

How can I verify user data login?

I have a HTML form that I want to verify the user login username and password against MySql database in php... How do I even begin?

19th Nov 2017, 7:49 AM
Phelix Ochieng'
Phelix Ochieng' - avatar
1 Réponse
+ 1
use the select command and take the specifications to it from your page. If a row is selected, you'll have a successful login, else, an unsuccessful login attempt. for example, select * from some_table where username=<html_parameter_here> and password=<html_parameter_here> if a row is selected, it means the login was authorized.
19th Nov 2017, 7:38 PM
Sushant Kulkarni
Sushant Kulkarni - avatar