You can try this it uses the old in the froms. PHP Code: // Keep the old input values upon redirect so they can be used by the `old()` functionreturn redirect()->back()->withInput(); What did you Try? What did
Register Sign In CodeIgniter Forums Archived Discussions Archived Development & Programming redirect after login Pages (3): 1 2 3 Next » redirect after loginEl ForumUnregistered #1 01-06-2012, 03:49 PM [eluser]UnknownPlayer[/eluser] Hi, can someone give me code how can i redirect after...
header("Location: ".$_SERVER['PHP_SELF']); break; case 'confirm': // We can now insert the data into the database or email it // Then we will unset the session and redirect back unset($_SESSION['postdata']); // This is to display our notification $_SESSION['success'] = true...
CodeIgniter Forums Using CodeIgniter Best Practices Is it impossible to redirect back or to another route with POST method request?Is it impossible to redirect back or to another route with POST method request?mrardiyansyahJunior Member Posts: 10 Threads: 5 Joined: Sep 2020 Reputation: 1 #1 10...
But after redirect there are no value error in validation and i got that error.what that i do wrong?best regards,Capah Maga Reply includebeerCodeIgniter Team Posts: 1,018 Threads: 18 Joined: Oct 2014 Reputation: 40 #2 06-18-2021, 04:58 AM (This post was last modified: 06-18-2021...