<?php 
$type=$db->query('select *from tbl_elements where elemid="'.$_REQUEST['e'].'"');
$fftype=$type->fetch();
?>
<form id="" action="" method="POST" enctype="multipart/form-data" autocomplete="off">
 <div class="row">
    <div class="col-md-10" style="background-image: url(../img/placeholders/inner-texture-bg.png); border-radius: 8px;">
      <div style='border-radius: 8px;border: 2px solid #7E9350;width:100%;margin-top:1%;margin-bottom:1%;'>
        <br/>
        <center>
           <b style="font-family: century gothic;font-size: 23px;"><i class="fa fa-info-circle"></i> Change Info.</b>
        </center>
        <br/>

        <div class="row">
          <div class="col-md-1"></div>
              <label class="col-form-label col-3 col-lg-3 form-label text-lg-right">Type Name<span class="required" style="color:red">*</span></label>
              <div class="col-sm-6">
              <input type="hidden" name="elem_id" value="<?php echo $fftype['elemid'];?>">
              <textarea type="text" name="elemname_upd" rows="2" class="form-control" placeholder="Write here..." required><?php echo $fftype['elemName'];?></textarea>
              </div>
          </div>
          <br>
          
          <hr>
          <center>
              <a href="gate?b=elmt" class="btn btn-default btn-sm" style="border-radius: 4px;font-weight: bold;">Go back</a>
              <button class="btn btn-primary btn-sm" name="updateElem" style="border-radius: 4px;font-weight: bold;" type="submit" id="">Save Changes</button>
          </center>
          <br>
      </div> <!--border -->
    </div>
  </div>
</form>