X7ROOT File Manager
Current Path:
/home/u126090504/domains/cecodisha.in/public_html/admin
home
/
u126090504
/
domains
/
cecodisha.in
/
public_html
/
admin
/
📁
..
📄
.htaccess
(2.11 KB)
📄
banner.php
(4.13 KB)
📄
code.php
(19.4 KB)
📁
css
📁
database
📁
faculty
📄
fboard.php
(6.04 KB)
📄
fboard_edit.php
(2.94 KB)
📁
files
📄
franchise.php
(5.62 KB)
📄
franchise_edit.php
(2.64 KB)
📄
galleryedit.php
(4.2 KB)
📁
galleryimages
📁
imagedata
📁
img
📁
includes
📄
index.php
(3.44 KB)
📁
js
📄
login.php
(1.99 KB)
📄
logincode.php
(614 B)
📄
logout.php
(81 B)
📄
nboard.php
(5.25 KB)
📄
nboard_edit.php
(2.23 KB)
📄
rcode.php
(1.49 KB)
📄
register.php
(4.08 KB)
📄
register_edit.php
(2.02 KB)
📁
scss
📄
security.php
(168 B)
📁
vendor
📄
viewcontact.php
(2.82 KB)
Editing: franchise_edit.php
<?php include('security.php'); include('includes/header.php'); include('includes/navbar.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 FRANCHISE</h6> </div> <div class="card-body"> <?php if (isset($_POST['fredit_btn'])) { $id = $_POST['fredit_id']; $query = "SELECT * FROM franchise WHERE slno='$id' "; $query_run = mysqli_query($connection, $query); foreach ($query_run as $row) { ?> <form action="code.php" method="POST"> <input type="text" name="edit_fr_id" value="<?php echo $row['slno'] ?>"> <div class="card-body"> <div class="form-group"> <label>Name</label> <input type="text" name="edit_name" value="<?php echo $row['name'] ?>" class="form-control" placeholder="Enter Name"> </div> <div class="form-group"> <label>Address</label> <input type="text" name="edit_address" value="<?php echo $row['address'] ?>" class="form-control checking_email" placeholder="Edit Address"> </div> <div class="form-group"> <label>Center Manager</label> <input type="text" name="edit_center" value="<?php echo $row['center'] ?>" class="form-control" placeholder="Enter Center Manager"> </div> <div class="form-group"> <label>Mobile Number</label> <input type="text" name="edit_mob" value="<?php echo $row['mob'] ?>" class="form-control" placeholder="Enter Mobile Number"> </div> </div> <a href="franchise.php" class="btn btn-danger"> CANCEL </a> <button type="submit" name="fr_update_btn" class="btn btn-primary">UPDATE</button> </form> <?php } } ?> </div> </div> </div> </div>
Upload File
Create Folder