complete-php-crud/admin/logout.php

10 lines
143 B
PHP

<?php
// Muhammad Daffa ~ daffa.tech
session_start();
session_unset();
session_destroy();
header("Location: index.php?pesan=logout")
?>