开发者

how to redirect to different user pages after login in Codeigniter

开发者 https://www.devze.com 2023-01-10 12:57 出处:网络
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,

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

精彩评论

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

关注公众号