Welcome Guest, Not a member yet? Register   Sign In
Routing issue - again!
#4

[eluser]Dam1an[/eluser]
[quote author="jdav3579" date="1245558407"]It was just the user guide does not put the brackets on![/quote]
Really?

And I quote...
Quote:
Code:
$route['product/(:num)'] = "catalog/product_lookup_by_id/$1";

A URL with "product" as the first segment, and anything in the second will be remapped to the "catalog" class and the "product_lookup_by_id" method passing in the match as a variable to the function.

That sure looks like some brackets to me Wink
You must have stopped reading after the first example, which doesn't have any


Messages In This Thread
Routing issue - again! - by El Forum - 06-20-2009, 05:12 PM
Routing issue - again! - by El Forum - 06-20-2009, 05:20 PM
Routing issue - again! - by El Forum - 06-20-2009, 05:26 PM
Routing issue - again! - by El Forum - 06-20-2009, 05:29 PM
Routing issue - again! - by El Forum - 06-20-2009, 05:33 PM
Routing issue - again! - by El Forum - 06-20-2009, 05:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB