URI path determined by data value.... |
[eluser]colorfingers[/eluser]
I've read the information on URI routing ect... and I'm a bit stumped on how I might accomplish this. I would like to take a value, say a user name from MySql and after running it in the controller to bring up a view. The catch is that I would like the URL to reflect the value without displaying the controller... example: http://mycodeigniter/username vs http://mycodeigniter/user/username... Does anyone have an idea on how to coax this behavior from CodeIgnitor? Thanks, Bob
[eluser]colorfingers[/eluser]
Either I have asked the impossible or a very dumb question. ?;O)
[eluser]Ben Edmunds[/eluser]
This has been covered many many times. Probably been covered a couple times this past week. Please search the forums. If you can't find it I'll find it for you.
[eluser]colorfingers[/eluser]
Did a search earlier... Didn't find anything relevant searching 'URL'... Sorry but I did try. I will look further. Bob ?;O)
[eluser]Ben Edmunds[/eluser]
Maybe this will get you started: http://ellislab.com/forums/viewthread/139775/ Have fun
[eluser]thePiet[/eluser]
http://ellislab.com/codeigniter/user-gui...uting.html
|
Welcome Guest, Not a member yet? Register Sign In |