I keep getting the following error for the code below "Parse error: parse error, unexpected $ in /home/sixsenc/public_html/rsdls/includes/test.php on line 22" :
<?php
// Print Main Links
global $linksection;
include ("connect.php");
if ($linksection=="main")
{
print <<<END
<br>
<a href="index.php">Main</a><br>
<a href="index.php?s=signup">Signup</a><br>
<a href="index.php?s=browse">Browse Downloads</a><br>
<a href="index.php?s=search">Search</a><br>
<a href="index.php?s=staff">Staff</a><br>
END;
}
?>
It makes absolutely no sense... Can someone please explain this to me.