Welcome Guest, Not a member yet? Register   Sign In
Passing parameter to controller method fails
#2

[eluser]meigwilym[/eluser]
You need parentheses around :num for the regex to pass the value.
Code:
$route['video/(:num)'] = 'players/video/$1';

Mei


Messages In This Thread
Passing parameter to controller method fails - by El Forum - 02-22-2012, 03:10 AM
Passing parameter to controller method fails - by El Forum - 02-22-2012, 08:02 AM
Passing parameter to controller method fails - by El Forum - 02-22-2012, 08:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB