File manager - Edit - /home/custbahd/tourismfraternity.com/admin/js/index.php
Back
<?php session_start(); include_once('../../db/saucerer.php'); if(isset($_GET['id'])){ $sql = "UPDATE inquiries SET deleted = '1' WHERE id = '".$_GET['id']."'"; //use for MySQLi OOP if($conn->query($sql)){ $_SESSION['success'] = 'Inquiry deleted successfully'; } else{ $_SESSION['error'] = 'Something went wrong while deleting the inquiry!'; } } header('location: ../'); ?>
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Generation time: 2 |
proxy
|
phpinfo
|
Settings