title: Database does not update, mysql_error does not show errors
body: <p>I've seen the related solutions about this and tried it but none of those works.
  This is my code for Updating Database, the mysql_error shows no sign of error. Don't know what to do. Help!</p>
  
  <pre><code>    &lt;?php 
          mysql_select_db("dbUsers");     
          if(isset($_POST['btnSave'])){
  
          $firstname=$_POST['firstname'];
          $lastname=$_POST['lastname'];
          $address=$_POST['address'];
  
          $query1 =("UPDATE `webuser` SET `firstname`='".$firstname."',
                  `lastname`='".$lastname."',`address`='".$address."'
                   WHERE empNo = '".$selEmp."' ");
  
          $result = mysql_query($query1) or die(mysql_error());
          }
          mysql_close($conn);
  
     ?&gt;
  </code></pre>