Link Posted June 21, 2007 Share Posted June 21, 2007 <?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 More sharing options...
Link Posted June 21, 2007 Author Share Posted June 21, 2007 Just kidding...saw the error when I posted it!!! HAHA.. Damn my inability to see whitespace! Link to comment https://forums.phpfreaks.com/topic/56629-solved-problem/#findComment-279633 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.