close
<style type="text/css">
<!--
.style1 {font-size: 12px}
.style2 {font-size:12px; color:#FF0000}
-->
</style>
<form method="post">
<span>猜猜我家住哪裡:</span>
<input type="text" name="password" id="textfield" />
<input type="submit" name="button" id="button" value="確定" />
</form>
<?
$password=isset($_POST['password'])?$_POST['password']:null;
if ($password != null):
if ($password == "台南市"):
echo "<span>"."您輸入的城市是:"."</span>";
echo "<span>".$password."</span>";
echo "<span>".",算你厲害!"."</span>";
endif;
endif;
?>
全站熱搜
留言列表