• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.