X-Git-Url: http://git.treefish.org/banana.git/blobdiff_plain/8db41c98817b1b48532dc3cebf4bea166e42bb70..64d981a433d9990d4c5ff9454464a520e169adfd:/include/usercheck.inc diff --git a/include/usercheck.inc b/include/usercheck.inc index e6cab54..27cecff 100644 --- a/include/usercheck.inc +++ b/include/usercheck.inc @@ -9,14 +9,14 @@ print 'Mat.nummer not found'; print ''; print "Mat.Nummer was not found. You have to register first!"; - break; + exit; } if($db->query("SELECT COUNT(*) FROM students WHERE mnumber = $mnumber AND password = \"$password\"")->fetch(PDO::FETCH_NUM)[0] == 0) { print ''; print ''; print '
wrong password
'; - break; + exit; } ?> \ No newline at end of file