From 862499252d77a177464d7c14c88abad1346c5313 Mon Sep 17 00:00:00 2001 From: shahfaisalgani <54397227+shahfaisalgani@users.noreply.github.com> Date: Tue, 26 Mar 2024 16:19:52 +0530 Subject: [PATCH] Update index.php --- admin/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/index.php b/admin/index.php index 7750aca..9560555 100644 --- a/admin/index.php +++ b/admin/index.php @@ -5,7 +5,7 @@ if(isset($_POST['submit'])) { $username=$_POST['username']; - $password=c ($_POST['password']); + $password=md5($_POST['password']); $query=mysqli_query($con,"SELECT * FROM admin WHERE username='$username' and password='$password'"); $num=mysqli_fetch_array($query); if($num>0)