[eluser]fdog[/eluser]
I have the following code:
Controller:
Code:
$notice = $this->load->view('error_view', array('msg'=>'Reservation not saved'), TRUE);
// echo $notice Works as expected
$this->session->set_flashdata('notice', $notice);
redirect('/some_place/');
View:
Code:
<?=($this->session->flashdata('notice'))?> //bool(false) :(
I'm not getting the flashdata in the view. Any ideas?