ID and $this->uri->segment(n) returning nothing |
[eluser]jstnjns[/eluser]
I can't seem to get the ID value from my URI segment or segment from URI lib to register. Requested URI: http://localhost/events/detail/1 Controller Code: class Events extends Controller { I'm autoloading the URI library, but that shouldn't have anything to do with $id.. I'm getting these errors: Missing argument 1 for Events::detail() Undefined variable: id Not sure what could be going on here. Don't have any non-standard $routes[].. Upgraded system to 1.7.1, but that didn't help. Can provide source if needed. Thanks in advance! |
Messages In This Thread |
ID and $this->uri->segment(n) returning nothing - by El Forum - 09-05-2009, 03:20 PM
ID and $this->uri->segment(n) returning nothing - by El Forum - 09-05-2009, 03:44 PM
ID and $this->uri->segment(n) returning nothing - by El Forum - 09-05-2009, 04:38 PM
ID and $this->uri->segment(n) returning nothing - by El Forum - 09-05-2009, 09:14 PM
ID and $this->uri->segment(n) returning nothing - by El Forum - 09-07-2009, 09:40 PM
|