CodeIgniter Forums
step-by-step tutorial for implementing redirection with form inputs - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: step-by-step tutorial for implementing redirection with form inputs (/showthread.php?tid=86818)



step-by-step tutorial for implementing redirection with form inputs - KowranKruzick - 02-19-2023

What is a step-by-step tutorial for implementing redirection with form inputs using omegle echat CodeIgniter 4?


RE: step-by-step tutorial for implementing redirection with form inputs - luckmoshy - 02-20-2023

PHP Code:
                return redirect()->to('form')->with('success','form success ')->withInput();

 
                
return redirect()->back()->with('failed','Ooops failed ')->withInput(); 

reffer here https://codeigniter.com/user_guide/general/common_functions.html?highlight=redirect#redirect