フォームがあり、検索を押す%2F
と、スラッシュの代わりに URL が出力されます。どうすればこれを修正できますか?
コード:
<form name="cdsearch" method="get" action="">
<input type="hidden" name="route" value="database/comics" /> <-- This is where the slash is needed
<input style="width: 100%;" type="text" name="q" value="<?php echo $q ?>" /><br/>
<input style="width: 100%;" type="submit" value="Search Comic Database" />
</form>