how to redirect to different user pages after login in Codeigniter
I’m developing a login, i need to login users and redirect them to their relevant interfaces after validating the user, i can’t understand how to redirect them to their respective interfaces in CI, how to do that? can you please help me out? if you can give a code and tell th开发者_JAVA百科e answer it would be great…!
regards, Rangana
redirect("/controller/function/parameter");
In my application:
redirect("/member/view/$userid");
More info on the URL helper
精彩评论