Sorry, but i have not done anything like this since my first year of High School. Someone is asking me to make a page where basically they can select an answer, yes or no, and based on that answer it will ask the next question. Now, instead of a second question, it is just a sentence. Why is it "Please continue with the next question" before i have selected yes or no? how do i get it to wait until one is selected?
<HTML>
<HEAD>
<TITLE> Sign Up Page 2</TITLE>
</HEAD>
<BODY>

<form method="GET" action="page2.php" name="signup">
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>
thank you, i am missing an $ in my if statement, however that was not the main problem that i am having