Welcome Guest, Not a member yet? Register   Sign In
return redirect()->back();
#2

This should work:
PHP Code:
return redirect()->to'/cart' ); 

...but you already tried it and in didn’t work. That’s weird. Maybe add a log_message() just before the redirect to see if it really get to this point and nothing crashes in the email() call?
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply


Messages In This Thread
return redirect()->back(); - by swsupport - 05-15-2021, 08:24 AM
RE: return redirect()->back(); - by includebeer - 05-15-2021, 08:38 AM
RE: return redirect()->back(); - by swsupport - 05-15-2021, 09:01 AM
RE: return redirect()->back(); - by swsupport - 05-15-2021, 09:50 AM
RE: return redirect()->back(); - by swsupport - 05-15-2021, 10:20 AM
RE: return redirect()->back(); - by InsiteFX - 05-15-2021, 11:40 AM
RE: return redirect()->back(); - by swsupport - 05-15-2021, 11:41 AM
RE: return redirect()->back(); - by wdeda - 05-15-2021, 03:10 PM
RE: return redirect()->back(); - by swsupport - 05-15-2021, 04:47 PM
RE: return redirect()->back(); - by demyr - 05-15-2021, 10:54 PM
RE: return redirect()->back(); - by MGatner - 05-22-2021, 05:19 AM
RE: return redirect()->back(); - by John_Betong - 05-22-2021, 04:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB