title: Object Not Found error for simple php script
body: <p>Every time I hit the submit button to process this code in my webpage it goes to the Object Not Found (404 error) page. It has happened in a few of my scripts and i don't know the source of the problem of whether its my localhost(Xampp) or my code. </p>
  
  <pre><code>if (isset($_POST['submit']))
  {
      require "dbc.php"; //Connection to database
      //the textfield input to be saved
      $name = mysql_real_escape_string($_POST['assign_id']);
      $id   = mysql_real_escape_string($_POST['id']);
  
      //the mysql query to process the textfield input
      $query = mysql_query("UPDATE users SET docID='$assign_id' WHERE id='$id'");
  //normal statement to let the user know that the changes have been made.    
      echo "Doctor ID Successfully Assigned for Patient ID : $name ";
      echo "&lt;p&gt;Refresh page to view changes.&lt;/p&gt;";
  }   
  </code></pre>