title: PHP - isset($_POST['rejectSeed']) is not detected
body: <p>Does not go through with this code. I have a modal in which has a submit button and every time I have to click the submit button there is no action or what so ever to insert it in the database. I have the same code in the same file that has the same function but the other one works. So the database insertion is not the problem.</p>
  
  <pre><code>    //REJECTED PROJECT &amp; CHECKING FOR REASON 
  if(isset($_POST['rejectSeed'])){
      echo "HUY";
          $query3="UPDATE projects 
          SET project_status = '7', reason = '".$_POST['reasonSeed']."' 
          WHERE id =".$idProj."";      
  
          retrieveTable($query3);
          header('Location: listprojectsprojectproposal.php');
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/5YuBM.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5YuBM.jpg" alt="enter image description here"></a></p>
  
  <pre><code>echo "  
  &lt;div class='modal fade' id='modalRejectSeed' role='dialog'&gt;
      &lt;div class='modal-dialog modal-lg'&gt;
        &lt;div class='modal-content'&gt;
          &lt;div class='modal-header'&gt;
            &lt;button type='button' class='close' data-dismiss='modal'&gt;&amp;times;&lt;/button&gt;
            &lt;h4 class='modal-title'&gt;Reject ".$strings["project"].": ".$projectDetail-&gt;pro_name[0]."&lt;/h4&gt;
          &lt;/div&gt;
          &lt;div class='modal-body'&gt;
            &lt;h5&gt;Please state the reason why Seed Company rejected the project ".$projectDetail-&gt;pro_name[0].". (eg. Insufficient)&lt;/h5&gt;
  
              &lt;div class='input-group'&gt;
                  &lt;span class='input-group-addon' id='basic-addon1' style='width:500px;'&gt;Reason for Rejection:&lt;/span&gt;
                  &lt;input type='text' id='reasonSeed' name='reasonSeed' class='form-control' style='width:500px;' placeholder='' aria-describedby='basic-addon1'&gt;
              &lt;/div&gt;
  
          &lt;/div&gt;
          &lt;div class='modal-footer'&gt;
              &lt;input type='submit' id='rejectSeed' class='btn btn-primary' name='rejectSeed'&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  
    ";
  </code></pre>