Welcome Guest, Not a member yet? Register   Sign In
URL ROUTING HELP! :D
#1

[eluser]Unknown[/eluser]
Hello guys,

I just wanted to ask something about URL routing in CI, I have browsed some tutorials in the web and it's quite not helping Big Grin i Just want to know if theres a chance in order for my scenario to work im still a newbie to CI, im hoping someone can point me to the light.. Big Grin

ok what i really want to achieve,:

I have developed a website and i want to access a specific page but it has quite a long URL on it,

e.g.
http://cebufreeinfo.com/index.php/site_c...nt_main/38

now the client_main method will call the existing client name on the database basing on its ID
I want to access that certain client but cutting short the URL..

I want it to look like this,

http://cebufreeinfo.com/index.php/(client_name) <-- what ever that is, it should point exactly to what client name it represents.

Is there any other approach using the built in URL function of CI I've tried using the routes function but cant seem to make it work. Or Im just too dumb to make it work hehe Big Grin i just want to know if theres any other solution for this.

I appreciate the help

thanks in advance


Messages In This Thread
URL ROUTING HELP! :D - by El Forum - 01-14-2008, 06:17 AM
URL ROUTING HELP! :D - by El Forum - 01-14-2008, 06:30 AM
URL ROUTING HELP! :D - by El Forum - 01-14-2008, 06:36 AM
URL ROUTING HELP! :D - by El Forum - 01-14-2008, 10:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB