clean url on search submit button - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: clean url on search submit button (/showthread.php?tid=35903) |
clean url on search submit button - El Forum - 11-15-2010 [eluser]Arun Joshi[/eluser] Hi All, I have a search box in a form, I want to create a url like Code: mysite.com/search/srchtext/abc Code: mysite.com/search/abc -Arun clean url on search submit button - El Forum - 11-15-2010 [eluser]jrtashjian[/eluser] I believe this is controlled by the browser, not CodeIgniter. I'd say switch the method from "get" to "post" and handle the submission using $this->input->post('srchtext'); etc. Is there a specific reason you are needing to use the get method? |