我需要保存我的提交表单数据,例如:两个页面的名称... 由于某些原因,$ _POST仅保存“动作”页面的数据,但在操作后无法修改页。 这里是我的代码: HTML(表格):
<html>
<body> <form name="input" action="staff.php" method="post">
Username: <input type="text" name="Name">
<input type="submit" value="Submit">
</form>
</body>
</html>
这里submiting之后的下一个页面,它的工作原理...(staff.php)
好,年龄submiting姓名和年龄后,停止工作......(staff2.php) 下面的代码:
<?php
session_start();
echo "You have choosen".
$_POST['Name']; //it does't show Name.. Please help!
$_POST['Age']; // it doesnt't show this either..
?>
请帮帮忙,非常感谢提前! :)
谢谢.................................... 。 – CODE 2014-10-20 15:40:09