- 帖子
- 23
- 主題
- 21
- 精華
- 0
- 積分
- 51
- 點名
- 0
- 作業系統
- Win7
- 軟體版本
- Office 2007
- 閱讀權限
- 20
- 性別
- 男
- 註冊時間
- 2014-3-5
- 最後登錄
- 2014-5-25
|
目前學php適用post將a網頁post參數傳到b網頁,讓b網頁出現XXX您好,但問題來了,我用工具NuSphere PhpED寫完網頁內容,檔案也跑完了,a網頁內容輸入完後b網頁只會顯示您好,到底是出了什麼問題呢?
有高手可以幫忙一下嗎???下面是程式碼內容
a網頁
<html>
<head>
<titile>指令按鈕使用範例</title>
</bead>
<body>
<center>
<font size = coclor = blue>指令按鈕的使用範例</font>
</center>
<hr>
<p></p>
<form action="response.php" method=post name=forml>
<p>請輸入姓名:<input name=tbxname ></p>
<input name=submit1 type=submit value="送出">
<input name=reset1 type=reset value="清除">
</form>
</body>
</html>
b網頁
<html>
<head>
<title>從用戶端傳送資料至伺服器</title>
</head>
<body>
<center>
<font size = 5 color = blue>回應表單動作的php檔</font>
</center>
<hr>
<p></p>
<center>
<h2>
<font color = red>
<? echo $_POST["tbxname"] ?>
</font>
您好
</h2>
</center>
</body>
</html> |
|