Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while($row = $result->fetch_assoc())
- {
- // Makes sure input from uid matches database entry
- if($user == $row['first'])
- {
- if($pass == $row['password'])
- {
- echo "Logged in";
- include "cookie.php";
- }
- else
- {
- echo "Failed login";
- }
- }
- else
- {
- echo "Failed login";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement