What is wrong with this code? I get this error message: Parse error: syntax error, unexpected T_IF in /home/content/page2.php on line 23
<HTML>
<HEAD>
<TITLE> Sign Up Page 2</TITLE>
</HEAD>
<BODY>
<form method="GET" action="page3.php" name="meritbadgesignup">
First name: <input name="firstname" type="text" />
<br />
Last name: <input name="lastname" type="text" />
<br />
Are you going to be First Class or above before the first day of camp?
<br />
<input type="radio" name="firstyear" value="Yes" /> Yes
<br />
<input type="radio" name="firstyear" value="No" /> No
<br />
<input type="submit" value="continue" />
</form>
<?php>
$firstyear = $_REQUEST['firstyear']

if (firstyear == Yes)
echo you have completed your registration
else
echo Please continue with the next question

?>

</BODY>
</HTML>
Please note: change
if (firstyear == Yes)
to
if ($firstyear == Yes)