PHP从Textbox向WAMP服务器发送信息导致错误

I don't get any errors, but when i click submit nothing happens.

Just wanted to try this simple code before putting in values in the textboxes, but even this does not add a record. I don't understand what is wrong.

<form method="post" action="">   
User Name: <input type="text" name="UN"><br>    
Password: <input type="text" name="PW"><br>   
 <input type="Submit" name = "submit" value="Add User">  
</form>

<?php 
$mysql = new mysqli('localhost', 'root', 'password', 'db')
 or die ('you\'re dead');

if (mysqli_connect_errno()) {    
  exit('Connect failed: '. mysqli_connect_error());    
}

if(isset($_POST['Submit'])) {    
   $quer = "INSERT INTO 'unpw'('id' , 'username', 'password') VALUES 
    (? , 'hello' , 'world')";

    $mysql->query($quer);

    if ($mysql->query($query) === TRUE) {  
      echo 'users entry saved successfully';    
    } else {    
     echo 'Error: '. $mysql->error;    
    }

    $mysql->close();

}    
?>

Variables are case sensitive in PHP.

You are checking for $_POST['Submit'], when it should be $_POST['submit']; as you have written in <input type="Submit" name ="submit" value="Add User"> - the submit code is never triggered.