Welcome Guest, Not a member yet? Register   Sign In
routing tips
#5

[eluser]rafiqasad[/eluser]
$route['product/(:num)'] = "catalog/product_lookup_by_id/$1"; In this example what is $1
and if i have 2 variables then
$route['product/(:num)/(:num)'] = "catalog/product_lookup_by_id/$1/?2"; Is $1 reffer to first num and $2 reffer to second num?


Messages In This Thread
routing tips - by El Forum - 11-18-2008, 05:53 AM
routing tips - by El Forum - 11-18-2008, 06:02 AM
routing tips - by El Forum - 11-18-2008, 06:23 AM
routing tips - by El Forum - 11-18-2008, 06:28 AM
routing tips - by El Forum - 11-18-2008, 06:35 AM
routing tips - by El Forum - 11-18-2008, 06:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB