$user = "buddysal_admin";
$pass = "3585835";
$db = "buddysal_MEMBERS";
$link = mysql_connect( "localhost", $user, $pass );
mysql_select_db( $db );
$login = mysql_query( SELECT * FROM MEMBERS WHERE
username=['$username'] AND password=['$password'] );
if (! $login ) {
echo redirect_page(highlight('Login was a success, you are being redirected to the members area!.'), 'members.php');
}else{
redirect_page(highlight('Username or password was wrong, please try again.'), 'index.php');
}
fixed the redirect's but i still get the line 7 error.