This is my code.
<?php
include("include/dbcon.php");
if($_SESSION['admin']){      //this is where the error starts
    header("location:admin/");
}else if($_SESSION['users']){   //and here also
    header('location:employee/');
}else{
    header:('location:/deped2/');
}
?>
Please help me with this code
 
     
     
    