File manager - Edit - /home/custbahd/public_html/form/2/del.php
Back
<?php include('connection.php'); include('header.php'); ?> <body> <?php if (!isset($_GET['do']) || $_GET['do'] != 1) { switch ($_GET['type']) { case 'people': $query = 'DELETE FROM people WHERE people_id = ' . $_GET['id']; $result = mysqli_query($db, $query) or die(mysqli_error($db)); ?> <script type="text/javascript"> alert("Successfully Deleted."); window.location = "index.php"; </script> <?php //break; } } ?> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Generation time: 1.71 |
proxy
|
phpinfo
|
Settings