Welcome Guest, Not a member yet? Register   Sign In
Undefined variable: request;
#4

Oh, that code is the CI3 era code when MVC was not properly separated.
In CI4 there is no `$this->input` in the View. So it does not work.

withInput() is used when you want to get variables after redirection.
So it is not for your case.
Reply


Messages In This Thread
Undefined variable: request; - by lucasdemarco - 04-11-2024, 07:25 AM
RE: Undefined variable: request; - by kenjis - 04-11-2024, 05:35 PM
RE: Undefined variable: request; - by kenjis - 04-12-2024, 05:34 PM
RE: Undefined variable: request; - by kenjis - 04-12-2024, 05:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB