Welcome Guest, Not a member yet? Register   Sign In
How to redirect Controller?
#1

[eluser]murtuza54[/eluser]
Hi Friends,

I am new to CI. and I have a little problem or say confusion.

I have controller login and findex.
from login/index function, if i redirect controller to findex, it redirects easily.

but when i redirect from login/check function to findex. it goes login/findex..

so it thinks findex as a function. how to declare that its another controller?

i write header("Location:findex");
is it proper way to redirect ?

-Murtuza..


Messages In This Thread
How to redirect Controller? - by El Forum - 12-23-2008, 11:25 PM
How to redirect Controller? - by El Forum - 12-23-2008, 11:36 PM
How to redirect Controller? - by El Forum - 12-23-2008, 11:43 PM
How to redirect Controller? - by El Forum - 12-23-2008, 11:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB