You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
578 B
PHP
21 lines
578 B
PHP
<?php
|
|
session_start();
|
|
include "./func_lib.php";
|
|
include "./db_login.inc.php";
|
|
|
|
$pemakai = $_SESSION["useracc"];
|
|
$queryclear ="DROP TABLE IF EXISTS `tPembelian$pemakai`";
|
|
runQuery($queryclear);
|
|
|
|
session_unset();
|
|
session_destroy();
|
|
|
|
//header("location:./index.php");
|
|
|
|
$msg = "Anda telah berhasil logout!Terima kasih..";
|
|
$message = "Pastikan anda telah membuka Laporan AK.7";
|
|
echo "<script type='text/javascript'>alert('$message');</script>";
|
|
echo "<script type='text/javascript'>window.location = 'index.php?msg=$msg';</script>";
|
|
|
|
?>
|