Welcome Guest, Not a member yet? Register   Sign In
Wildcards :num and :any not working in my routes
#4

[eluser]dwdaniell[/eluser]
I'm having this same problem - I want to have a URI that looks like this...
Code:
/example/value
... get mapped to my controller class Example, method call as lookup(value) - i.e. call the lookup method on my controller named "Example", passing it the argument "value".

I wrote my routing rule as:
Code:
$route['example/:any'] = "example/lookup";
... and that didn't work. But that's how it says to do it in the documentation... I tried a few other variations and they didn't work either. Any suggestions?


Messages In This Thread
Wildcards :num and :any not working in my routes - by El Forum - 08-11-2007, 06:10 AM
Wildcards :num and :any not working in my routes - by El Forum - 08-11-2007, 11:02 AM
Wildcards :num and :any not working in my routes - by El Forum - 08-11-2007, 04:01 PM
Wildcards :num and :any not working in my routes - by El Forum - 08-25-2007, 11:41 AM
Wildcards :num and :any not working in my routes - by El Forum - 08-25-2007, 12:23 PM
Wildcards :num and :any not working in my routes - by El Forum - 08-25-2007, 12:50 PM
Wildcards :num and :any not working in my routes - by El Forum - 01-10-2008, 03:19 AM
Wildcards :num and :any not working in my routes - by El Forum - 01-10-2008, 07:22 PM
Wildcards :num and :any not working in my routes - by El Forum - 01-11-2008, 06:36 AM
Wildcards :num and :any not working in my routes - by El Forum - 01-11-2008, 11:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB