是的,为什么不
确定你可以发布到同一页面:)
的index.php
<?php
if (isset($_POST['txt']))
echo 'Thnx for submitting the form';
else
echo 'Submit the form';
?>
<form name="frm" method="post" action="index.php">
<input type="text" name="txt" id="txt"/>
<input type="submit" />
</form>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
217 次 |
| 最近记录: |