query($sql); header("Location: index.php"); } else{ $first=1; $invalid=1; } } }else{ $first=1; $invalid=2; } } ?> login
enter username and password !
';} if($invalid==1 and $invalid_pass!=1){ echo' '; }elseif($invalid==2){ echo' '; } } ?>

Sign in