Welcome Guest, Not a member yet? Register   Sign In
Redirect - pass message to next page

(This post was last modified: 12-22-2020, 12:05 PM by BFlokstra.)

Not sure if this is in the right place....

I need to perform a redirect after a database action (delete). I have added the folowing line: 
return redirect()->to('/evenementen/' . url_title($evenement['evenement_naam'], '-', TRUE));

On evenementen/evenement_name I need a specific message to be shown ("The event was succesfully removed"). Is there a specific CI4 way to do this nicely of should I just add a query to the url? (?m=the_message)

I'm pretty new to CI in general, coming from php without any frameworks, so forgive me if this is a "stupid" question ;-)

Messages In This Thread
Redirect - pass message to next page - by BFlokstra - 12-22-2020, 11:57 AM

Theme © iAndrew 2016 - Forum software by © MyBB