Consider the following code snippetIf(isset($_POST[‘submit’])){$name=$_POST[‘name’];$password=$_POST[‘password’];$sql=Select * from users where name=$name and password=$password;$data=mysqli_query($sql);}Why this code is a security risk and how to avoid it.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here