login system
-
hey i have been trying to solve this problem for week now dont know if you can help its a parse error i cant seem to solve..
this is the line of codes<?php
require_once($_SERVER[‘DOCUMENT_ROOT’]”../airads/myra/imports/path.php”);if(!$session->is_logged_in()){jump_to(“Auth.php”);}
if($_SESSION[‘role’]==’Employee’){
jump_to(’employee.php’);
}
if($_SESSION[‘role’]==’Administrator’){
jump_to(‘administration.php’);
}?>
This is how the error looks
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\xampp\htdocs\airads\myra\index.php on line 2
if you can please assist
thankyou.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘login system’ is closed to new replies.