这是我目前用于表单的代码:
<form method="post" action="access.php" class="form-stacked">
<fieldset class="control-group">
<div class="control-group">
<div class="controls">
<input class="input-xlarge" name="s1" id="s1" type="text" value="" />
</div>
</div>
<center>(click here if you need help finding your username)</center>
</fieldset>
<fieldset class="control-group">
<div class="control-group">
<div class="controls">
<input class="input-xlarge" name="s2" id="s2" type="text" value="" />
</div>
</div>
<center>(click here if you need help finding your username)</center>
</fieldset>
</form>
当我点击进入时,它会将人们直接带到http://mysite.com/access.php
但相反,我试图弄清楚如何将它们带到http://mysite.com/access.php?s1=value&s2=value
显然,该值将替换为他们实际输入的文本。更改此代码以实现它的最简单方法是什么?
谢谢!