[eluser]Unknown[/eluser]
Hello,
i didnt understand the folowing, can someone help me?
If i have 2 views and i give a data array to the first, in the second i can use these variables too
Example:
Code:
$data['example'] = 'value';
$this->load->view('index', $data);
$this->load->view('index2');
Now i can access to $example in the view index2
Is this normal (i think it shouldnt)? If yes, why?
Is there a config-possibility to chance this behavior, so the variables didnt pass?
Thank you very much in advance for your answer!
(I use CodeIgniter 2.1.4)