Skip to content

Commit

Permalink
fixed a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zume2020 authored Jul 22, 2019
1 parent a3c97b0 commit 1cda37f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions checklogin.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
$count = mysqli_num_rows($res); // if uname/pass correct it returns must be 1 row


echo $password . "<br>" . $row['psw'];
//echo $password . "<br>" . $row['psw']; //for debugging purposes only



Expand Down Expand Up @@ -81,4 +81,4 @@
//incorrect credentials
header("Location: login.php?error");
echo $sql ." <br>count " .$count ."<br> userId>> ". $row['userId'] ."<br>usrepass>>".$row['psw'] ;
?>
?>

0 comments on commit 1cda37f

Please sign in to comment.