[eluser]TheIgniter[/eluser]
[quote author="CI_avatar" date="1283321068"]During on click of the submit button the default link will be generated above like
Code:
(mysite.com/mycontroller/myfunction/filter_by/?pays1=france&pays2=canada)
there no way we can do that.
But you may route the link
Code:
mysite.com/mycontroller/myfunction/filter_by/?pays1=france&pays2=canada
to
Code:
mysite.com/mycontroller/myfunction/filter_by/france/canada
Make a controller that will receives the get request then route it to the destination controller with rewritten URL
getcontroller.php
Code:
//code somewhat like this
header('Location: mysite.com/myfunction/filter_by/'.$this->input->get('pays1').'/'.$this->input->get('pays2'));
//please do some URL handling and manipulation to get the correct URL
[/quote]
Thanks to both of u.. So, i will stick with your suggestion ..