Snippet of my php file
session_start(); // Bring in old sessionID
$sess_id = session_id(); // assign old session variable to $sess_id var
if(empty($sess_id)){ # If no sessionID redirect back home.
header('Location: ../index.php');
}
else(!empty($sess_id)){
Line 9 in the file:
else(!empty($sess_id)){
Why is this throwing this???
You can’t have an
echobetween theifand theelse. Take it out.