Skip to content

Commit

Permalink
Update index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
shahfaisalgani authored Mar 26, 2024
1 parent f3b6686 commit 8624992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8624992

Please sign in to comment.