两个php网页代码如下
当点击一个页面的链接时,该表单所输入的值,能够出现在被链接网页的表单里提交运行
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>a</title>
</head>
<body>
<p><a target="_self" href="b.htm">b</a></p>
<form method="POST" action="a.htm">
<input type="text" name="T1" size="20">
<input type="hidden" name="tt" value="a" />
<input type="submit" value="提交" name="B1">
</form>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>b</title>
</head>
<body>
<p><a target="_self" href="a.htm">a</a></p>
<form method="POST" action="b.htm">
<input type="text" name="T1" size="20">
<input type="hidden" name="tt" value="b" />
<input type="submit" value="提交" name="B1">
</form>
</body>
</html>
[此贴子已经被作者于2007-9-12 21:22:45编辑过]