Flashdata not clearing on refresh/redirect |
Well,
in your controller: 1- get the data from your view (You can check the link I am leaving for step 2) 2 check if they pass your rules or not (Follow this link) 3- if yes, pass them to model. 4- if not, turn back an error (no need for flashdata). - - - - 3- If you pass your data to model and to database successfully then you can call your flashdata, like: PHP Code: $data = [ By the way, why don't you go with CI 4? |
Messages In This Thread |
Flashdata not clearing on refresh/redirect - by msheath - 02-12-2021, 02:58 AM
RE: Flashdata not clearing on refresh/redirect - by demyr - 02-12-2021, 07:50 AM
RE: Flashdata not clearing on refresh/redirect - by msheath - 02-12-2021, 07:57 AM
RE: Flashdata not clearing on refresh/redirect - by demyr - 02-12-2021, 10:10 AM
RE: Flashdata not clearing on refresh/redirect - by msheath - 02-12-2021, 10:27 AM
RE: Flashdata not clearing on refresh/redirect - by mskarn - 03-04-2021, 03:43 PM
RE: Flashdata not clearing on refresh/redirect - by mskarn - 03-04-2021, 04:13 PM
RE: Flashdata not clearing on refresh/redirect - by Muzikant - 03-18-2021, 04:12 AM
RE: Flashdata not clearing on refresh/redirect - by Garnet - 09-30-2021, 07:52 PM
RE: Flashdata not clearing on refresh/redirect - by InsiteFX - 10-03-2021, 01:17 AM
|