Skip to content

Commit

Permalink
Merge pull request #56 from santydesignscr/patch-1
Browse files Browse the repository at this point in the history
Please fix that
  • Loading branch information
mahtab2003 authored Jan 15, 2022
2 parents 56ad0b4 + acd3cd7 commit 7515041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/function/Login.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require __DIR__.'/Connect.php';
if(isset($_POST['login'])){
$FormData = array(
'email' => mysql_rea_escape_string($connect, $_POST['email']),
'email' => mysqli_real_escape_string($connect, $_POST['email']),
'password' => $_POST['password']
);
$sql = mysqli_query($connect,"SELECT * FROM `hosting_clients` WHERE `hosting_client_email`='".$FormData['email']."'");
Expand Down

0 comments on commit 7515041

Please sign in to comment.