Jump to content

[SOLVED] Problem


Link

Recommended Posts

<?php
print <<<EOT

</div>


<div id="side">

	<ul id="sc"><h3>Navigation</h3>
EOT;

print "Hello!";

print <<<EOT			

		<li><a href="#">This is a link</a></li>
		<li><a href="#">This is a link</a></li>
		<li><a href="#">This is a link</a></li>
		<li><a href="#">This is a link</a></li>
		<li><a href="#">This is a link</a></li>
	</ul>

</div>


<div id="footer"><strong>Eventron © 2007</strong><span> <a href="/about/">about</a> <a href="/advertise/">advertising</a> <a href="/developers/">developers</a> <a href="/jobs/">jobs</a> <a href="/terms/">terms</a> <a href="/privacy/">privacy</a> <a href="/help/">help</a></span></div>


</div>
</body>

</html>
EOT;
?>

 

I get this error:

 

Parse error: syntax error, unexpected T_SL in /home/eventron/public_html/control/footer.inc.php on line 14

 

I can't figure it out.  Why is there an error?

Link to comment
https://forums.phpfreaks.com/topic/56629-solved-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.