- Code: Select all
foreach($_SESSION as $key => $value) {
$message.="<br>$key = $value";
}
When I view the page I get this bit at the top
- Code: Select all
$value) { $message.="
$key = $value"; } $message.="
Sessions are being unset."; $_SESSION=array(); } if (!isset($_SESSION['siteusid'])) { $_SESSION['siteusid']=$siteid; $_SESSION['level']="admin"; } ?>
which tells me it's the => that's causing the break. ?
Thanks.