Skip to content

Commit

Permalink
Update del-u.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ipang-dwi authored Jan 8, 2020
1 parent a093a7c commit 1eae3c7
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions del-u.php
Original file line number Diff line number Diff line change
@@ -1,15 +1 @@
<?php
session_start();
if (!isset($_SESSION['login']))
header('Location: index.php');
include('configdb.php');

$result = $mysqli->query("delete from user where id = ".$_GET['id'].";");
if(!$result){
echo $mysqli->connect_errno." - ".$mysqli->connect_error;
exit();
}
else{
header('Location: user.php');
}
?>
file ini memerlukan donasi, silahkan WA ke no 0856-48587-856

0 comments on commit 1eae3c7

Please sign in to comment.