Commit 7a774762 by Roy Junedi Simamora

penambahan fungsi - fungsi session

parent b76efd9e
<?php
require '/koneksi.php';
function get_session($_key){
$value = (isset($_SESSION[$_key]))? $_SESSION[$_key]: null;
return($value);
}
function set_session($_key, $_value){
$_SESSION[$_key] = $_value;
}
function destroy_session($_key){
unset($_SESSION[$_key]);
}
?>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment