diff --git a/gw-login.php b/gw-login.php index 9e0f805..35fb330 100644 --- a/gw-login.php +++ b/gw-login.php @@ -8,6 +8,7 @@ $password = md5($password); if ($con->connect_errno > 0){ die ('Unable to connect to database [' . $db->connect_errno . ']'); } +echo 'broke something above the sql statement!
'; $sqllogin = "SELECT * FROM users WHERE users.username = '$username' and password = '$password'"; if ($result = $con->query($sqllogin)){ if ($result->fetchColumn() > 0){