Redirecting with $_POST |
I would like to pass $_POST data on successful completion of a form.
This will place my form data into $_SESSION as an array PHP Code: redirect()->route('education')->with('report', 'Session Saved')->withInput(); I can get to this via PHP Code: session('_ci_old_input')['post'] but not the individual values, for a reason I don't understand. It feels as though there must be a more elegant way to access '_ci_old_input' but I'm not sure what it is. How can I pass $_POST data on to a new page with redirect() ? Happy to try a different strategy. Flash Session data? |
Messages In This Thread |
Redirecting with $_POST - by motownphilippe - 03-08-2021, 11:52 PM
RE: Redirecting with $_POST - by motownphilippe - 03-09-2021, 01:05 AM
|