Welcome Guest, Not a member yet? Register   Sign In
View page inside view page?
#1

[eluser]whygod[/eluser]
Hi guys.

I have created an upload method in the controller and when I call the success view page.
That page is displayed inside the current view page.
Why is this? and how to fix this?

I also tried the redirect();
But the problem with this solution is, the message is not displayed immediately.

Thank you very much for your help in advanced.

#2

[eluser]jairoh_[/eluser]
because you are loading the view directly.

what you need to do is use the redirect function, and redirect to a controller w/ a function that loads the view.
#3

[eluser]TheFuzzy0ne[/eluser]
If you post your code, maybe we can see what's happening?




Theme © iAndrew 2016 - Forum software by © MyBB