I passed $data
array to view. $data
array is like:
$data = array('t0' => array('point' => 0), 't1' => array('point' => 2) .... );
What I am trying to do is using this array in my view as follows:
<?php echo $t0['point']; ?> //It works!
But I am doing this in a for
loop by definition of structure. Therefore I need to pass numeric value(near 't
' letter) as a variable.
How can I achieve this?