Welcome Guest, Not a member yet? Register   Sign In
User guide possible mistake
#1

[eluser]adaxa[/eluser]
I would like to alert you that that there might be a mistake in the user guide (URI Routing).
Code:
$route['product/(:num)'] = "catalog/product_lookup_by_id/$1";
Quote: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.

I think only numeric values will be match in second segment.


Messages In This Thread
User guide possible mistake - by El Forum - 04-18-2010, 11:51 AM
User guide possible mistake - by El Forum - 04-18-2010, 12:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB