[eluser]stormbytes[/eluser]
[quote author="techgnome" date="1286006057"]Yes, it has to be an associative array. The key part of the array is used as the name of the variable on the view side.
So given:
$data = array('foo' =>'1', 'bar' =>'2');
If you then pass $data to the view when you load it, you will get $foo and $bar in the view (where $foo will = 1, and $bar = 2).
Seems a bit nutters at first... but when you start to pass around query results, configuration flags, authentication, and other stuff, it makes some sense.
-tg[/quote]
Okay I think I'm starting to get the hang of it
Now for some OOP....
Thanks so much for taking the time to view/respond to this thread. One of the main reasons I decided to invest in CodeIgniter over other frameworks was the community, which so far has exceeded my expectations!