Welcome Guest, Not a member yet? Register   Sign In
Help with redirect->with
#1
Question 

Hello, I'm moving to CI4 from CI3 and I have a question about the redirect.

How I can get the variable "validation" from this line to show on my view:

Code:
return redirect()->to(site_url('/login'))->withInput()->with('validation', $this->validator);

I'm still stuck with this.


Thank you!
Reply
#2

The best thing is to look at Myth/Auth AuthController and the views.

It will teach you a lot about CI 4.

Myth:Auth
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

(07-28-2020, 10:48 AM)InsiteFX Wrote: The best thing is to look at Myth/Auth AuthController and the views.

It will teach you a lot about CI 4.

Myth:Auth


Nice, I'll check.


Thank you!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB