<form method="post" name="form" action="results.php">
Reads <select name="select1">
<option value='1'>mapped reads </option>
<option value='0'>none mapped reads </option>
</select>
<input type=submit value="Search"> <br> <br>
cDNA <input type=text name="cDNA"> <input type="hidden" name=db value="hongshu"><input type=submit value="Search">
</form>
Reads <select name="select1">
<option value='1'>mapped reads </option>
<option value='0'>none mapped reads </option>
</select>
<input type=submit value="Search"> <br> <br>
cDNA <input type=text name="cDNA"> <input type="hidden" name=db value="hongshu"><input type=submit value="Search">
</form>
<form method="post" name="form" action="results.php?参数在这='search.php?db=hongshu'">
Reads <select name="select1">
<option value='1'>mapped reads </option>
<option value='0'>none mapped reads </option>
</select>
<input type=submit value="Search"> <br> <br>
cDNA <input type=text name="cDNA"> <input type=submit value="Search">
</form>
用post传
<form method="post" name="form" action="results.php?参数在这=search.php?db=hongshu">
Reads <select name="select1">
<input type=hidden name="参数在这" value="search.php?db=hongshu">
<option value='1'>mapped reads </option>
<option value='0'>none mapped reads </option>
</select>
<input type=submit value="Search"> <br> <br>
cDNA <input type=text name="cDNA"> <input type=submit value="Search">
</form>
<form method="post" name="form" action="results.php?参数在这=search.php?db=hongshu">
红色部分不要.
<form method="post" name="form" action="results.php">
Reads <select name="select1">
<option value='1'>mapped reads </option>
<option value='0'>none mapped reads </option>
</select>
<input type=submit value="Search"> <br> <br>
cDNA <input type=text name="cDNA"> <input type=submit value="Search">
</form>(有两个参数是 select1 和 cDNA 已经在form里面 post呢) 想把 search.php页面上的 db 参数 也传过去 results.php
不是传search.php?db=hongshu