我正在尝试使用 HTML 表单提交 url index.php?page1&name2=value2&name3=Value3
。我最接近的是index.php?page1=&name2=value2...
我不知道怎么弄干净page1
,我敢肯定有一个简单的答案。我不确定在哪里搜索,但我实现的 MVC 模式(John Squibb's)假设这种格式,我必须假设它是可能的。任何信息表示赞赏。
到目前为止我所拥有的:
<form id="page1" action="index.php" method="get">
<input type="hidden" name="page1"/>
...