media.php
<?php
session_start();
if (empty($_SESSION[username]) AND empty($_SESSION[passuser])){
echo "<link href='style.css' rel='stylesheet' type='text/css'>
<center>Untuk mengakses modul, Anda harus login <br>";
echo "<a href=index.php><b>LOGIN</b></a></center>";
}
else{
?>
Notice: Use of undefined constant username - assumed 'username' in C:\xampp\htdocs\SourceCodePHP\bab 4\toko\adminweb\media.php on line 4
Notice: Use of undefined constant passuser - assumed 'passuser' in C:\xampp\htdocs\SourceCodePHP\bab 4\toko\adminweb\media.php on line 4
Notice: Use of undefined constant module - assumed 'module' in C:\xampp\htdocs\SourceCodePHP\bab 4\toko\adminweb\content.php on line 9
Repeated error on line 4: if (empty($_SESSION[username]) AND empty($_SESSION[passuser])){
Why is it? I successfully the admin web, and now is the admin page, with few errors.