URL / Controler realted |
[eluser]Chris Newton[/eluser]
I prefer to use the uri_to_assoc function, rather than using the segment. This allows you to pass key=>value pairs and doesn't require that the variable you pass is always in the same URI segment; http://ellislab.com/codeigniter/user-gui...s/uri.html This allows you to use urls like; http://site.com/index.php/services/servi...ocations/1 http://site.com/index.php/services/servi...ocations/2 http://site.com/index.php/services/servi...ocations/1 and just look for the value of locations, rather than test for every possible location. |
Messages In This Thread |
URL / Controler realted - by El Forum - 12-26-2007, 09:35 AM
URL / Controler realted - by El Forum - 12-26-2007, 09:42 AM
URL / Controler realted - by El Forum - 12-26-2007, 04:20 PM
URL / Controler realted - by El Forum - 12-26-2007, 04:21 PM
URL / Controler realted - by El Forum - 12-26-2007, 04:27 PM
URL / Controler realted - by El Forum - 12-26-2007, 04:31 PM
URL / Controler realted - by El Forum - 12-26-2007, 04:49 PM
URL / Controler realted - by El Forum - 12-26-2007, 05:07 PM
URL / Controler realted - by El Forum - 12-26-2007, 07:15 PM
URL / Controler realted - by El Forum - 12-26-2007, 11:21 PM
URL / Controler realted - by El Forum - 12-27-2007, 01:12 AM
URL / Controler realted - by El Forum - 12-27-2007, 09:01 AM
URL / Controler realted - by El Forum - 12-27-2007, 09:37 AM
|