Kick me if I'm being silly but some some reason I'm having a heck of time building a dynamic array in magento.
Example:
$data = array();
$data[0] = 'test';
$data[1] = 'what';
I keep getting an ERROR:
Notice: Undefined offset: 0
Any ideas? Do I need to handle these arrays differently since they are in a class?