Can anyone help me? I want to make this code work. If the variable $result is empty, I want it to echo "Login Failed." and if it isn't, I want it to echo "Login Successful."
Login Form
<html>
<head>
<title> Student Log In </title>
</head>
<body>
<form action="studentloggedin.php"...