EllisLab text mark
Advanced Search
     
passing multiple function in codeigniter uri segment
Posted: 04 June 2011 10:45 PM   [ Ignore ]
Joined: 2010-05-25
80 posts

how do i pass multiple function in codeigniter uri segment in controler/method like index.php?cat=2&action=edit&group=3&viz=blah

 
Posted: 05 June 2011 06:25 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2010-12-20
1586 posts

enable query string : http://ellislab.com/codeigniter/user-guide/general/urls.html

 Signature 

“In Code We Trust.”


CI Library : Gas ORM | Proxy

 
Posted: 06 June 2011 09:44 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Joined: 2010-05-25
80 posts

i mean how would i achieve that in segment based url ? i don’t weant to use query base url.

 
Posted: 15 June 2011 06:15 PM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Joined: 2011-06-15
1 posts

For the record, I think the best way to achieve this is to use

uri_to_assoc() 

, see here:

http://ellislab.com/codeigniter/user-guide/libraries/uri.html

Look for “$this->uri->uri_to_assoc(n)” it’s half way down the page.