I am getting the following error and can not figure out why. I've been staring at this for too long..
Error:
Parse error: syntax error, unexpected T_UNSET in blah/blah/blah
My code:
Essentially, I am trying to give the user the ability to clear a session via clicking a link. Not sure where I am going wrong within my syntax... Any help would be much appreciated!
NOTE: Yes, my code is within php blocks
echo "<span><a href='" . unset($_SESSION['vertical']) . "'>clear "
. $vertical . "</a></span>";
Thanks in advance!