**Set flash data in controller**

message – flash data session name.

$this->session->set_flashdata(‘message’, ‘Sucessfully updated.’);

Read flash data(Pass in view with bootstrap alert)

session->flashdata(‘message’)){?>

session->flashdata(‘message’)?>

Leave a Comment