2
我想有一個表格填寫,然後在另一頁上顯示的數據。第一份文件是該
<html>
<head>
</head>
<body>
<form action="testerpage.php" method="post">
Name: <input type="text" name="testname">
<input type="submit">
</form>
</body>
</html>
其他頁面(testerpage.php)是這個
<html>
<body>
<?php
echo $_POST["testname"];
?>
</body>
</html>
爲什麼不會testerpage顯示從第一頁(命名的welcome.php)的信息?它不適用於「獲取」
你使用什麼版本的PHP? – Baba
嘗試在地址欄中輸入:'testerpage.php?testname = welcome'。它工作嗎? – SYNCRo
@mario我認爲這可能是不同的.. – Baba