[eluser]henry178[/eluser]
Hi!
this is code in my controller:
Code:
$cookie1 = array(
'address' => $_POST['address'] ,
'name' => $_POST['name'] ,
'type' => $_POST['type'] ,
'lang' => DEFAULT_LANGUAGE,
'creation_date' => date('Y-m-d')
);
;
$this->input->set_cookie($cookie1);
$this->load->view('template1/form_registration2', $data);
How i can see the cookie1 i view form_registration2?
This:
<?= get_cookie('cookie1') ?>
don't work....