[eluser]deco10[/eluser]
Next question then, what if its a multi dimensional array?
In the views guide it shows about using a foreach loop, which is pretty obvious, but I don't want a foreach loop.
in my controller:
$data['lines']= array();
$data['lines']['first'] = "first el";
$data['lines']['second'] = "second el";
So in my view I use this by:
echo $lines['first'];
Which doesn't work. How do I access the information in $data['lines'] while in my view?