почему не отправляется сабмит?
<?php
require_once('db.php');
if(!isset($_POST['submit'])){
echo "Fill the form";
} else{
$login = $_POST['login'];
$password = $_POST['password'];
$check_user = "SELECT * FROM users WHERE login = '{$login}' AND password = '{$password}'";
$query = mysqli_query($db_connect, $check_user);
if(mysqli_num_rows($query) == 1){
header("Location: order_pas.php");
$users = mysqli_fetch_array($query);
if($password != $users['password']){
echo "Login or password failed";
}
} elseif(mysqli_num_rows($query) == 0){
header("Location: index.php");
}
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<header>
<title></title>
</header>
<body>
<form action="" method="POST">
<p>Mobile number:</p>
<input type="text" name="login">
<p>Password:</p>
<input type="text" name="password">
<p><input type="submit" name="submit"></p>
</form>
</body>
<footer></footer>
</html>