我有一个表格:
$html.='<div class="grid-round">
<form method="post action="">
<table class="grid-table">
<tr>
<th><input type="checkbox" ></th>
<th>name</th>
<th>type</th>
<th>date</th>
<th>Stat</th>
</tr>
...
</table>
<button>save</button>
</form>
</div>';
放置它的页面在地址上:
www.example.com/admin?cid=53&user_id=10
但是当我按下按钮时,它会将我重定向到:
www.example.com/admin
我已经投入了,action=" '.$SERVER[ 'REQUEST_URI' ].' "
但它也没有帮助。有人可以建议该怎么做或问题出在哪里?