not getting vlaue in $_post array : this is my form code, when i am submitting the form i am not getting data in post array,i tried multiple methods but not receiving any response after clicking the button, here is the code
 

    <form class="form-horizontal form-label-left" method="post" action="#" >

                     
                      <span class="section">Info</span>

                      <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">Name <span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                          <input id="name" class="form-control col-md-7 col-xs-12" data-validate-length-range="6" data-validate-words="2" name="name" placeholder="both name(s) e.g Jon Doe" required="required" type="text">
                        </div>
                      </div>
                      <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="textarea">Description <span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                          <textarea id="description" required="required" name="description" class="form-control col-md-7 col-xs-12"></textarea>
                        </div>
                      </div>
                      <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="textarea">Type <span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                          <select id="type" name="type" required="required" class="selectpicker form-control col-md-7 col-xs-12">
                            <option title="Combo 1">Weekly</option>
                            <option title="Combo 2">Monthly</option>
                            <option title="Combo 3">Annually</option>
                          </select>
                        </div>
                      </div>

                      <div class="ln_solid"></div>
                      <div class="form-group">
                        <div class="col-md-6 col-md-offset-3">
                          <button  type="submit" value="submit" name="submit" class="btn btn-success">Submit</button>
                        </div>
                      </div>
                    </form>
and here the code which is written at the top of the this page 

   

     <?php
                        
                        if (isset($_POST['submit'])) {
                          echo print_r($_POST);
                        }
    
    ?>