]]jkjjgdjffksdkdfdkfjgsldkfhgjkgjkhjkgjkdascxvxcvxcvjdklfgjslkdfgjlskdfgjdskfgj
במ12[aspddfsdfsdfdrxcvxcvcxvxcvxcvxcvxcvxcvxcvxcvxcvxxvxcvxcvxcv;'
/
home
/
u893294702
/
domains
/
millennium-mps.org
/
public_html
/
admin
/
Upload FileeE
HOME
<?php include('includes/header.php'); include('includes/navbar.php'); include('security.php'); ?> <div class="container-fluid"> <!-- DataTales Example --> <div class="card shadow mb-4"> <div class="card-header py-3"> <h6 class="m-0 font-weight-bold text-primary">EDIT NOTICE </h6> </div> <div class="card-body"> <?php if (isset($_POST['edit_btn'])) { $id = $_POST['edit_id']; $query = "SELECT * FROM nboard WHERE id='$id' "; $query_run = mysqli_query($connection, $query); foreach ($query_run as $row) { ?> <form action="code.php" method="POST" enctype="multipart/form-data"> <input type="hidden" name="edit_id" value="<?php echo $row['id'] ?>"> <div class="form-group"> <label>Date</label> <input type="text" name="edit_date" class="form-control" value="<?php echo $row['date'] ?>" placeholder="Enter Date"> </div> <div class="form-group"> <label>Notice Text</label> <input type="text" name="edit_ntext" class="form-control" value="<?php echo $row['ntext'] ?>" placeholder="Enter Text"> </div> <div class="form-group"> <label>Upload Pdf</label> <input type="file" name="nurl" id="nurl" class="form-control"> </div> <a href="nboard.php" class="btn btn-danger"> CANCEL </a> <button type="submit" name="n_update_btn" class="btn btn-primary">UPDATE</button> </form> <?php } } ?> </div> </div> </div> </div>