Welcome Guest, Not a member yet? Register   Sign In
Cache + help :)
#1

[eluser]bogdan3l[/eluser]
Hello!

I give you a quick example about what i want to do:
===================================================
function index()
{
// i want to cache this data with the view
$data['data1'] = 'data1';
$data['data2'] = 'data2';

// this data is regenerated every time when the page is loaded
// and i don't want to cache this data
$data['data3'] = 'data3';
$data['data4'] = 'data4';

$this->load->view('test', $data);
}
===================================================

Can someone help me with this problem? An example or something would be great!

Thanks a lot!




Theme © iAndrew 2016 - Forum software by © MyBB