Routing and GET parameters

#10
[eluser]stoefln[/eluser]
[quote author="Bramme" date="1220140566"][quote author="m4rw3r" date="1220135841"]uri_to_assoc() maybe?

Then you use a slash as a separator:
example.com/controller/method/keyword/page/3[/quote]
That's a great solution! Just add /comments_page/3 to your uri, wherever you want, use uri_to_assoc and then just check if $array['comments_page'] isset OR ! empty.[/quote]

Yes, think thats the best way. Thanks everyone!


Messages In This Thread
Routing and GET parameters - by El Forum - 08-29-2008, 02:23 AM
Routing and GET parameters - by El Forum - 08-29-2008, 02:29 AM
Routing and GET parameters - by El Forum - 08-29-2008, 04:03 PM
Routing and GET parameters - by El Forum - 08-30-2008, 02:13 AM
Routing and GET parameters - by El Forum - 08-30-2008, 03:28 AM
Routing and GET parameters - by El Forum - 08-30-2008, 04:41 AM
Routing and GET parameters - by El Forum - 08-30-2008, 11:25 AM
Routing and GET parameters - by El Forum - 08-30-2008, 11:37 AM
Routing and GET parameters - by El Forum - 08-30-2008, 12:56 PM
Routing and GET parameters - by El Forum - 08-31-2008, 10:40 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.