別の検索方法を使用するeコマースエンジンスクリプトを使用しています。
このようなGETを使用するURLの代わりに:
http://search.com/searchc?q=the+query
それは使用しています
http://search.com/searchc/the+query
このフォームはURLを作成するため、POSTまたはGETするフォームを作成するにはどうすればよいですか。
http://search.com/searchc/?q=the+query
<form action="/searchc/" method="post">
<input type="text" id="q" name="q">
<input type="submit" value="go">
</form>
これも試してみました(getまたはpostはこれらの両方では機能しません)
<form action="/searchc/" method="post">
<input type="text" id="" name="">
<input type="submit" value="go">
</form>