File "set-controller-20260115062349.php"
Full Path: /home/quiczmwg/lightspringdigitals.com/admin-20260114051102/set-controller-20260115062349.php
File size: 420 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
include_once ("../_db.php");
@session_start();
if(isset($_GET['id'])){
$userid = $_GET['id'];
if($_GET['status']=='delete'){
//delete user account
$sql = $conn->query("DELETE FROM dsettings WHERE userid='$userid' ");
if($sql){
$_SESSION['mgs'] = "Account deleted successfully!";
}
}
header("Location: manage-settings.php");}
?>