CodeIgniter Forums
[SOLVED] go to search/index even when accessing search/daksd+ashfa+afeq - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: [SOLVED] go to search/index even when accessing search/daksd+ashfa+afeq (/showthread.php?tid=46372)



[SOLVED] go to search/index even when accessing search/daksd+ashfa+afeq - El Forum - 10-29-2011

[eluser]Bianca Migueis[/eluser]
hi,

i have a controller called search and when someone searches for something i want to put it in the uri as search/i+am+searching+for+something but when I do that the controller cant find the function called i+am+searching+for+something. is there some way around that?like to tell the controller that no matter what function i call i am actually calling search/index/i+am+searching+for+something?

thx