[eluser]Unknown[/eluser]
Sorry if i have posted in wrong forum.
Am very new to Codeingnater, i want to set the cookies for country and city for our users. I have followed the procedure given in the manual.
$country = $this->input->post('country');
$cookie = array(
'name' => 'country',
'value' => '$country',
'expire' => time()+86500,
'domain' => '.example.mysite.com',
'path' => '/',
'prefix' => '',
);
set_cookie($cookie);
But unable to set the cookie...?