In order controller
$this->session->set_flashdata('order',array('status'=>1,'message'=>'done'));
redirect(base_url().'thank-you/','refresh');
In thank-you controller-
echo json_encode($this->session->flashdata('order'));
But false is output
Aucun commentaire:
Enregistrer un commentaire