Passing parameter to controller method fails |
[eluser]Kimse[/eluser]
Hi I have an url like this http://exmaple.com/video/1 and route like this: Code: $route['video/:num'] = 'players/video/$1'; and my controller method: Code: public function video($video_id) { this is the var_dump output: Quote:string(2) "$1" and I expected $video_id to contain 1 |
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
|