<html>
....
<form name=....>
.....
<input name="r_name" type="text" id="r_name" size="30" maxlength="20" />
......
<input name="password" type="password" id="password" size="20" maxlength="20" />
...
....
<form name=....>
.....
<input name="r_name" type="text" id="r_name" size="30" maxlength="20" />
......
<input name="password" type="password" id="password" size="20" maxlength="20" />
...
....
<form name=.... method="post">
.....
<input name="r_name" type="text" id="r_name" size="30" maxlength="20">
......
<input name="password" type="password" id="password" size="20" maxlength="20">
...
你的表单没有采用post方法,请你在设置表单时在属性中设置方法为post,即method="post",试试看!我从来没出现过这种情况!
然后再 print_r($_POST); 看结果。
从这上面可以看到POST数据有没有传到后台.
或都是看看有没有定义form的method属性.
<form action="" name="mypost" method="POST">
...