Hello i hav this script here to input answer for a test.The problem is the part where i have to navigate the script to another page in
if (isset($next))
{
echo "<b>Here you should go NEXT!</b>";
}
I hav tried some method but it seems its not working well.
What method u think i should use here.Please include some sample codes.
Please advise.
Thanks.
<?php
echo"
<FORM ACTION=\"next.php\" METHOD=\"post\">
Choose:<BR>
<input type=\"submit\" name=\"answer\" value=\"A\">
<input type=\"submit\" name=\"answer\" value=\"B\">
<input type=\"submit\" name=\"answer\" value=\"C\">
<input type=\"submit\" name=\"answer\" value=\"D\"><BR>
<BR>
<input type=\"submit\" name=\"next\" value=\"NEXT\">
</FORM>
";
if (isset($next))
{
echo "<b>Here you should go NEXT!</b>";
}
else if ($answer)
{
echo "<b>You choosed: $answer </b>";
/*