[eluser]coffeeandcode[/eluser]
Hi all, my CI application loads several views as variables before passing everything off to a template view. In some of my smaller views there are variables, such as $title, which are also found in other views. It seems like using the same variable name in more than one view causes them to interfere, even though they are not passed to the view in the data array.
For example, I have a small view which is a list with a title, and one of the variables passed to it is $title. When I do this, the $title for the page (ie, main template) is changed to the list's $title, even though no title variable is present in the main template's data array.
Am I doing something wrong, or is this the way CI is supposed to work? I would think the data passed to a view would be in scope only within that view.