URI Segments |
[eluser]Dready[/eluser]
Hello, as you noticed, in CI your pass parameters just like URI segments (/some/thing) , instead of the classic varname=value&varname2=value2. The controller function that is called should have parameters for you to get back those variables. In your example, you have to create a controller, something like that : Code: class products extends controller { And then call it with the URL : Code: example.com/index.php/products/show/1/5 More info on controllers in the doc |
Messages In This Thread |
URI Segments - by El Forum - 10-02-2008, 04:30 AM
URI Segments - by El Forum - 10-02-2008, 04:54 AM
URI Segments - by El Forum - 10-02-2008, 05:11 AM
URI Segments - by El Forum - 10-02-2008, 05:25 AM
URI Segments - by El Forum - 10-02-2008, 05:40 AM
URI Segments - by El Forum - 10-02-2008, 05:51 AM
URI Segments - by El Forum - 10-02-2008, 06:03 AM
|