can someone please help with my error:
Parse error: syntax error, unexpected $end in /Users/avertstaff/Sites/johns/test/post.php
Code:
<?
require('protectpage.php');
$output = <<<EOF
<form action="insert.php" method="post">
Firstname: session_register("myusername");
<br>
Lastname:
<input type="text" name="lastname" />
<br>
Age:
<input name="age" type="text" size="2" />
<br>
<select>
<option value="Page to be modified" selected="selected">Page to be modified</option>
<option value=""></option>
<option value="aafrica.htm">aafrica.htm</option>
<option value="abc-hiv.htm">abc-hiv.htm</option>
<option value="about.htm">about.htm</option>
</select>
<br>
<input type="submit" />
<br>
<a href="display.php">display</a>
</form>
</body>
</html>
EOF;
echo $output;
?>