Why php form not submitting?
<p>I'm developing a script for online admission in a website. Below is <code>php</code> code of the page. The problem is that it's not submitting.</p>

<pre><code>    &lt;?php
include ("include/header.php"), include ("include/config.php");

 if(isset($_POST['applyAdmission'])) {

  $admission_no = $_POST['admission_no'];
  $f_name = $_POST['f_name'];
  $l_name = $_POST['l_name'];
  $p_add = $_POST['p_add'];
  $c_add = $_POST['c_add'];
  $dob = $_POST['dob'];
  $education = $_POST['education'];
  $mobile = $_POST['mobile_no'];
  $course = $_POST['course'];
  $subjects = $_POST['subjects'];
  $timing = $_POST['timing'];

  $filepath_pic = $_FILES['picture']['name'];
  $res_move_pic = move_uploaded_file($_FILES['picture']['tmp_name'], "/admission/".$filepath_pic);

  $filepath_sign = $_FILES['sign']['name'];
  $res_move_sign = move_uploaded_file($_FILES['sign']['tmp_name'], "/admission/".$filepath_sign);

  $agree_terms = $_POST['agree_terms'];
  $agree_cond = $_POST['agree_cond'];


  if ($res_move_pic == 1 &amp;&amp; $res_move_sign == 1 ) {

    $query = "INSERT into online_admission (f_name, l_name, p_add, c_add, dob, degree, mobile_no, course, subjects, timing, pic, sign, agree_terms, agree_cond, applied_on) 
             values ('$f_name','$l_name','$p_add','$c_add','$dob','$education','$mobile','$course','$subjects','$timing','$filepath_pic','$filepath_sign','$agree_terms','$agree_cond','now()')";
    $res = mysql_query($query) or die("ERROR: Unable to insert into database.");

    if ($res == 1) {
      header('Location:http://adarshclasses.in/admission_success.php/');
      exit();
     } else {
      header('Location:http://adarshclasses.in/admission_failed.php/');
      exit();
        }
     } else {
       echo "Error in updateing profile pic and sign";
   }
 } else {
   //echo "Please submit the form, thanks!";
}

;?&gt;
</code></pre>

<p>Everything in form is correct like I added same name in form which i used in <code>$_POST</code> but still it's not working, please help me to fix this issue.</p>

<p>Here is <code>html</code> codes of form:</p>

<pre><code>&lt;form class="form-horizontal" id="admission_form" method="post" action="" enctype="multipart/form-data"&gt;

 &lt;!--div class="row"&gt;     
  &lt;div class="col-lg-6"&gt;

      &lt;label for="admission_no"&gt; Admission No. &lt;/label&gt;
      &lt;input type="hidden" class="form-control" name="admission_no" value="&lt;?php echo $admission_no ;?&gt;" readonly disabled&gt;

  &lt;/div&gt;
 &lt;/div--&gt;&lt;br&gt;


 &lt;div class="row"&gt;     
  &lt;div class="col-lg-6"&gt;

      &lt;label for="f_name"&gt; First Name &lt;span class="required"&gt;*&lt;/span&gt; &lt;/label&gt;
      &lt;input type="text" class="form-control" name="f_name" placeholder="Your first name" value="&lt;?php echo $f_name ;?&gt;" required&gt;

  &lt;/div&gt;     
  &lt;div class="col-lg-6"&gt;

      &lt;label for="l_name"&gt; Last Name &lt;span class="required"&gt;*&lt;/span&gt;&lt;/label&gt;
      &lt;input type="text" class="form-control" name="l_name" placeholder="Your last name" value="&lt;?php echo $l_name ;?&gt;" required&gt;

  &lt;/div&gt;
 &lt;/div&gt;&lt;br&gt;

 &lt;div class="row"&gt;
  &lt;div class="col-lg-12"&gt;
   &lt;label for="p_add"&gt; Permanent Address &lt;span class="required"&gt;*&lt;/span&gt;&lt;/label&gt;
   &lt;textarea class="form-control" name="p_add" placeholder="Please write your permanent address" value="&lt;?php echo $p_add ;?&gt;" required&gt;&lt;/textarea&gt;
  &lt;/div&gt;
 &lt;/div&gt;&lt;br&gt;


 &lt;div class="row"&gt;
  &lt;div class="col-lg-12"&gt;
   &lt;label for="c_add"&gt; Current Address in Jodhpur &lt;span class="required"&gt;*&lt;/span&gt;&lt;/label&gt;
   &lt;textarea class="form-control" name="c_add" placeholder="Please write your address where you currently living" value="&lt;?php echo $c_add ;?&gt;" required&gt;&lt;/textarea&gt;
  &lt;/div&gt;
 &lt;/div&gt;&lt;br&gt;  


 &lt;div class="row"&gt;     
  &lt;div class="col-lg-6"&gt;

      &lt;label for="dob"&gt; Date of birth &lt;span class="required"&gt;*&lt;/span&gt;&lt;/label&gt;
      &lt;input type="date" class="form-control" name="dob" placeholder="Your date of birth eg:- 25/11/1996" value="&lt;?php echo $dob ;?&gt;" required&gt;

  &lt;/div&gt;     
  &lt;div class="col-lg-6"&gt;

      &lt;label for="education"&gt; Recent passed degree/exam - &lt;/label&gt;
      &lt;input type="text" class="form-control" name="education" placeholder="for example - BA/ B.Sc etc." value="&lt;?php echo $education ;?&gt;" &gt;

  &lt;/div&gt;
 &lt;/div&gt;&lt;br&gt;

 &lt;div class="row"&gt;     
  &lt;div class="col-lg-6"&gt;

      &lt;label for="mobile_no"&gt; Mobile Number &lt;span class="required"&gt;*&lt;/span&gt;&lt;/label&gt;
      &lt;input type="number" class="form-control" name="mobile_no" placeholder="Enter your mobile number, eg - 8384991980" value="&lt;?php echo $mobile_no ;?&gt;" required&gt;

  &lt;/div&gt;     
  &lt;div class="col-lg-6"&gt;

      &lt;label for="course"&gt; Select course &lt;span class="required"&gt;*&lt;/span&gt; &lt;/label&gt;

      &lt;select class="form-control" name="course" required&gt;
       &lt;option value="none"&gt; --- Select one course --- &lt;/option&gt;
       &lt;option value="IAS"&gt; IAS &lt;/option&gt;
       &lt;option value="RAS"&gt; RAS &lt;/option&gt;
       &lt;option value="Police constable"&gt; Police constable &lt;/option&gt;
       &lt;option value="SI"&gt; SI &lt;/option&gt;
       &lt;option value="Railway"&gt; Railway &lt;/option&gt;
       &lt;option value="REET"&gt; REET &lt;/option&gt;
       &lt;option value="Teacher"&gt; Teacher &lt;/option&gt;
       &lt;option value="Patwar"&gt; Patwar &lt;/option&gt;
       &lt;option value="Bank PO"&gt; Bank PO &lt;/option&gt;
       &lt;option value="Jr Accountant"&gt; Jr Accountant &lt;/option&gt;
       &lt;option value="Rajasthan police"&gt; Rajasthan police &lt;/option&gt;
       &lt;option value="SSC (10+2)"&gt; SSC (10+2) &lt;/option&gt;
      &lt;/select&gt;

  &lt;/div&gt;
 &lt;/div&gt;&lt;br&gt;

 &lt;div class="row"&gt;     
  &lt;div class="col-lg-6"&gt;

      &lt;label for="subjects"&gt; Subjects - &lt;/label&gt;
      &lt;input type="text" class="form-control" name="subjects" placeholder="Enter your subject you want to read" value="&lt;?php echo $subjects ;?&gt;" required&gt;

  &lt;/div&gt;     
  &lt;div class="col-lg-6"&gt;

      &lt;label for="timing"&gt; Classes Timing - &lt;/label&gt;
      &lt;input type="text" class="form-control" name="timing" placeholder="Your preferred time for coaching" value="&lt;?php echo $timing ;?&gt;" required&gt;


  &lt;/div&gt;
 &lt;/div&gt;&lt;br&gt;

 &lt;div class="row"&gt;     
  &lt;div class="col-lg-6"&gt;

      &lt;label for="picture"&gt; Upload your picture &lt;span class="required"&gt;*&lt;/span&gt;&lt;/label&gt;
      &lt;input type="file" class="form-control" name="picture" required&gt;

  &lt;/div&gt;     
  &lt;div class="col-lg-6"&gt;
      &lt;label for="sign"&gt; Upload your signature &lt;span class="required"&gt;*&lt;/span&gt;&lt;/label&gt;
      &lt;input type="file" class="form-control" name="sign" required&gt;
  &lt;/div&gt;
 &lt;/div&gt;&lt;br&gt;

&lt;div class="row"&gt;
  &lt;div class="col-md-12"&gt;
     &lt;input type="checkbox" aria-label="..." name="agree_terms" value="1"&gt; I agree with Rules and Regulations mentioned below.&lt;br&gt;
     &lt;input type="checkbox" aria-label="..." name="agree_cond" value="1"&gt; I hearbly declare that Adarsh Classes can use my pictures after my selection for advertising purpose.
  &lt;/div&gt;&lt;!-- /.col-lg-6 --&gt;
&lt;/div&gt;&lt;!-- /.row --&gt;

&lt;div class="row"&gt;
 &lt;div class="col-lg-6"&gt;
  &lt;div class="form-group"&gt;
   &lt;button type="text" name="submit" class="btn btn-success btn-lg btn-block" name="applyAdmission"&gt; Submit my application form &lt;/button&gt;
  &lt;/div&gt;
 &lt;/div&gt;
&lt;/div&gt;  



   &lt;/form&gt;
</code></pre>