是否可以在此代码中制作弹出窗口?
<table background = "nb.png">
<tr>
<td>
<center>
<?php
if (isset($_POST["word"])) {
if ($_POST["word"] == "boy" )
{
echo "Your answer is correct.";
}
else
{
echo "Sorry, you typed the wrong answer. Try Again!";
}
}
?>
<span id="dummy" onclick="playSound(this,'vowels/boy.mp3');">
<img src="pics/dipthongs/boy.jpg" width="400" height="250"> </li>
</span>
<form action="act_dip.php" method="post">
<font color = "black" size="20"> <strong> Type the word: <input type="text" name="word"> </font>
<input type="submit" name="check" value="Answer">
</form>
</td>
</span>
</center>
</tr>
</table>
当我单击“应答”按钮时,结果看起来如此简单。我可以在弹出窗口中做到吗?谢谢!