title: PHP Sending Information from Textbox to WAMP Server causing error
body: <p>I don't get any errors, but when i click submit nothing happens. </p>
  
  <p>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.</p>
  
  <pre><code>&lt;form method="post" action=""&gt;   
  User Name: &lt;input type="text" name="UN"&gt;&lt;br&gt;    
  Password: &lt;input type="text" name="PW"&gt;&lt;br&gt;   
   &lt;input type="Submit" name = "submit" value="Add User"&gt;  
  &lt;/form&gt;
  
  &lt;?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-&gt;query($quer);
  
      if ($mysql-&gt;query($query) === TRUE) {  
        echo 'users entry saved successfully';    
      } else {    
       echo 'Error: '. $mysql-&gt;error;    
      }
  
      $mysql-&gt;close();
  
  }    
  ?&gt;
  </code></pre>