3 つの異なるドロップダウン メニューを含むフォームがあり、次のようになります。
<FORM METHOD="LINK" ACTION="/search.php" method="get">
<select style="width:55px;" name="filter_name">
<option> </option>
<option>R13</option>
<option>R14</option>
<option>R15</option>
<option>R16</option>
<option>R17</option>
</select></td></tr>
<tr><td width="40%">Plotis:</td><td colspan="2"><select style="width:55px;" name="">
<option> </option>
<option>165</option>
<option>175</option>
<option>185</option>
<option>195</option>
<option>205</option>
<option>215</option>
<option>225</option>
</select></td></tr>
<tr><td width="40%">Aukštis:</td><td colspan="2"><select style="width:55px;" name="">
<option> </option>
<option>75</option>
<option>70</option>
<option>65</option>
<option>60</option>
<option>55</option>
<option>50</option>
<option>45</option>
</select></td></tr>
<tr><td colspan="2" align="center">
<INPUT style="width:80px; height:25px; font-size:14px; font-weight:600; cursor:pointer;" TYPE="Submit" VALUE="Ieškoti">
</FORM>
基本的に、3 つのオプションすべてを次のページに送信する必要がありますが、1 つの変数に結合する必要があります。例:
<option>165</option>+<option>70</option>+<option>R13</option>
次のように index.php に送信する必要があります。filter_name=165/70/R13
また、これらすべてを index.php のみに送信するのではなく、
index.php?route=product/search&FILTER_NAME
に変更ACTION="/index.php"
しても機能しACTION="/index.php?route=product/search"
ませんでした。
どんな助けでも本当にありがたいです。