i try to retrieve password from database to check the login process and check password is match or not
for insert data i try
$sql = "insert into users values ('".strval($_POST["UserName"])."' , MD5('".strval($_POST["Password"])."'))";
and for get data i try
$sql_check_login = "select * from users where username = '".strval($_POST["UserName"])."' and password = MD5('".strval($_POST["Password"])."')";
can any one help me to fix this error because the password did not match thanks