I’m trying to include a file “menu.inc” into my page, and when I go to the test page I set up it returns:
“Parse error: parse error in /home/xxviiine/public_html/menu.inc on line 3”
This is what is in the .inc file
<?php
$menuArray[0] = '<font size="2"><b><a href="http://www.xxviii.net/main.php">Main</a></b></font>'
$menuArray[1] = '<font size="2"><b><a href="http://www.xxviii.net/photoshop/index.php">Photoshop</a></b></font>'
$menuArray[2] = '<font size="2"><b><a href="http://www.xxviii.net/disclaimer.php">Disclaimer</a></b></font>'
$menuArray[3] = '<font size="2"><b><a href="http://www.xxviii.net/contact.php">Contact</a></b></font>'
$menuArray[4] = '<font size="2"><b><a href="http://www.xxviii.net/vb">Forums</a></b></font>'
$num = sizeof($menuArray);
for($i=0; $i<$num; $i++) echo "$menuArray[$i] ";
?>
absolutely no clue why I’m getting an error… any help would be awesome