Webページにフォームがあります:
<?php echo form_open('/search/processing'); ?>
<input type="text" name="query" size="50" />
<input type="submit" name="1" value="1" /></br>
<input type="submit" name="2" value="2" /></br>
<input type="submit" name="3" value="3" /></br>
</form>
このコントローラー関数に移動します。
public function processing()
{
// redirects here based on user input and what submit button was pressed
}
この機能を取り除き、ユーザーが入力した内容に基づいてフォームから直接リダイレクトすることは可能でしょうか?