D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
G:
/
PleskVhosts
/
jhalakdembla.com
/
akkonlineservices.com
/
Admin
/
Filename :
EditStore.php
back
Copy
<?php include('layout/header.php'); require('Coding/db.php'); $id = $_GET['id']; $query = "SELECT * FROM `store` where id = '$id'"; $result = mysqli_query($conn,$query); $row = mysqli_fetch_assoc($result); ?> <section> <div class="row">StoreEditController.php <div class="col-12 col-xl-6 mx-auto"> <div class="card"> <div class="card-header"> <h5 class="card-title">Add Store</h5> <!-- <h6 class="card-subtitle text-muted">Default Bootstrap form layout.</h6> --> </div> <div class="card-body"> <form action="Coding/StoreEditController.php" method="post" enctype="multipart/form-data"> <input type="hidden" name="id" value="<?php echo $row['id']; ?>"> <div class="mb-3"> <label class="form-label">Title</label> <input type="text" class="form-control" value="<?php echo $row['Title'];?>" name="title" placeholder="Title"> </div> <div class="mb-3"> <label class="form-label">URL</label> <input type="text" class="form-control" value="<?php echo $row['URL'];?>" name="url" placeholder="url"> </div> <div class="mb-3"> <label class="form-label w-100">Full Address</label> <textarea id="" name="description" style="width: 100%;" required><?php echo $row['Description'];?></textarea> </div> <button name="submit" class="btn btn-primary">Update</button> </form> </div> </div> </div> </div> </section> <script src="//cdn.ckeditor.com/4.19.1/standard/ckeditor.js"></script> <script> CKEDITOR.replace( 'editors' ); </script> <?php include('layout/footer.php'); ?>