开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜