Controller parameters change depending of URL |
[eluser]Mareshal[/eluser]
And I want a Pizza now...(I'll get it later) If I were you, I would use the URL like this: /site/news/year/2010/month/02/state/1 and using $this->uri->uri_to_assoc(n) : find it here: http://ellislab.com/codeigniter/user-gui...s/uri.html make the url like this [array] ( 'year' => '2010' 'month' => '02' 'state' => '1' ) and problem solved...at least for me. And be sure you read this: http://www.phparch.com/2010/04/29/less-c...ys-better/ |
Messages In This Thread |
Controller parameters change depending of URL - by El Forum - 04-30-2010, 07:05 PM
Controller parameters change depending of URL - by El Forum - 05-01-2010, 03:23 AM
Controller parameters change depending of URL - by El Forum - 05-01-2010, 03:59 AM
Controller parameters change depending of URL - by El Forum - 05-01-2010, 04:07 AM
|