<td colspan="3">
<form name="dict" action="check.php" method="POST" target="_blank">
<tr><td colspan="3">
<p align="center"> <span class="style3">你的答案是:</span>
<input TYPE="text" NAME="s" VALUE="" size="20"> <input type="submit" value="去!">
</form></td>
<?
if($_POST['s'] == '答案'){
echo("Correct");
}else{
echo("Incorrect");
}
include 'answer.htm';
?>
<?
if(!$_GET['submit']){
?>
<td colspan="3">
<form name="dict" action="check.php?submit=true" method="post" target="_blank">
<tr><td colspan="3">
<p align="center"> <span class="style3">你的答案是:</span>
<input type="text" name="answer" size="20"><input type="submit" value="去!">
</form></td>
<?
}else{
if($_POST['answer'] == '答案'){
echo("Correct");
}else{
echo("Incorrect");
}
}
?>