Welcome Guest, Not a member yet? Register   Sign In
URI Segments
#1

[eluser]hykoh[/eluser]
Sorry, but I cant find any useful explaination at the forum / wiki about this topic.

I beginning with an example:
Code:
http://www.example.com/index.php?page=products&category=1&supplier=5

How can I handle such a link with the CI URI segment ?

If i try

Code:
example.com/index.php/products/category/1/supplier/5

i dont know how to access the values like in the first example ($_GET['category'], $_GET['supplier'] etc.)

I cant find out how much parameters given and i cant choose a specified segment thrue the name, right ?

So what else can i do ? The segments are dynamically doing their job as filters .. there could be even more then this two.

Thanks for help


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



Theme © iAndrew 2016 - Forum software by © MyBB