X7ROOT File Manager
Current Path:
/home/u126090504/domains/apexodisha.in/public_html/admin
home
/
u126090504
/
domains
/
apexodisha.in
/
public_html
/
admin
/
📁
..
📄
banner.php
(4.13 KB)
📄
code.php
(13.72 KB)
📁
css
📁
database
📁
faculty
📄
fboard.php
(7.32 KB)
📄
fboard_edit.php
(4.04 KB)
📁
files
📄
galleryedit.php
(4.2 KB)
📁
galleryimages
📁
imagedata
📁
img
📁
includes
📄
index.php
(4.08 KB)
📁
js
📄
login.php
(1.97 KB)
📄
logincode.php
(614 B)
📄
logout.php
(81 B)
📄
nboard.php
(4.91 KB)
📄
nboard_edit.php
(1.96 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: register_edit.php
<?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 Admin Profile </h6> </div> <div class="card-body"> <?php if (isset($_POST['edit_btn'])) { $id = $_POST['edit_id']; $query = "SELECT * FROM register WHERE id='$id' "; $query_run = mysqli_query($connection, $query); foreach ($query_run as $row) { ?> <form action="code.php" method="POST"> <input type="hidden" name="edit_id" value="<?php echo $row['id'] ?>"> <div class="form-group"> <label> Username </label> <input type="text" name="edit_username" value="<?php echo $row['username'] ?>" class="form-control" placeholder="Enter Username"> </div> <div class="form-group"> <label>Email</label> <input type="email" name="edit_email" value="<?php echo $row['email'] ?>" class="form-control" placeholder="Enter Email"> </div> <div class="form-group"> <label>Password</label> <input type="password" name="edit_password" value="<?php echo $row['password'] ?>" class="form-control" placeholder="Enter Password"> </div> <a href="register.php" class="btn btn-danger"> CANCEL </a> <button type="submit" name="updatebtn" class="btn btn-primary"> Update </button> </form> <?php } } ?> </div> </div> </div> </div>
Upload File
Create Folder