php - CodeIgniter Accessing Multi-Dimentional Arrays in Views -


i've got little problemo. in codeigniter controller i'm loading same view many times array. each view assigned value, in turn added $data array pass view. i'm having problems getting data out of $data array in master template view.

here's how created array:

$data['views'][$current_value][$counter] = $this->load->view('sub_view', $data, true);` 

this inside while loop cycles through $counter until i've got data need. finished array have views, have many current values, each have many counters.

what code should use try , out of array in master view? i've tried many different methods! it's not playing ball. has got ideas. cheers!

sparkles

okay, i've fixed it. turns out quite simple mistake, turns out knowledge of multi-dimensional arrays in codeigniter not bad. byeee x


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -