/
/
home
/
u523034047
/
domains
/
nainitalfloweritech.com
/
public_html
/
admin
Server: in-mum-web1112.main-hosting.eu (62.72.28.111)
You: 216.73.216.89
PHP 8.3.16
Dir:
/home/u523034047/domains/nainitalfloweritech.com/public_html/admin
Edit:
/home/u523034047/domains/nainitalfloweritech.com/public_html/admin/manage-enquries.php
<?php session_start(); include('include/config.php'); include('include/admin-menu.php'); ?> <!DOCTYPE html> <html> <head> <title>Manage Enquiries</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css"> </head> <body> <div class="container mt-5"> <h2>Product Enquiries</h2> <table class="table table-bordered"> <thead> <tr> <th>#</th> <th>Name</th> <th>Mobile</th> <th>Email</th> <th>Product</th> <th>Address</th> <th>Message</th> <th>Date</th> <th>Action</th> </tr> </thead> <tbody> <?php $query=mysqli_query($con,"SELECT * FROM enquiries ORDER BY id DESC"); $count=1; while($row=mysqli_fetch_array($query)) { ?> <tr> <td><?php echo $count;?></td> <td><?php echo $row['name'];?></td> <td><?php echo $row['mobile'];?></td> <td><?php echo $row['email'];?></td> <td><?php echo $row['product'];?></td> <td><?php echo $row['address'];?></td> <td><?php echo $row['message'];?></td> <td><?php echo $row['created_at'];?></td> <td> <a href="delete-enquiry.php?id=<?php echo $row['id'];?>" class="btn btn-danger btn-sm"> Delete </a> </td> </tr> <?php $count++; } ?> </tbody> </table> </div> </body> </html>
Ukuran: 1.2 KB