The login form is not working correctly, when I type Invalid credentials, It is still redirecting to account.php
<?php
include("dbsettings.php");
// Connect to server and select database.
mysql_connect("$host", "$username", "$password")or die("cannot connect")...