How to use these array in php
<p>Can someone explain what is happening in these codes? 
I don't understand how cols and rows are being used.
Thank you</p>

<pre><code>$chartdata['cols'][] = array('label'=&gt;'Days Range','type'=&gt;'string');

$chartdata['rows'][] = array('c'=&gt;array(array('v'=&gt;$month),array('v'=&gt;$prevyearbal)));
</code></pre>

<p>how these associative arrays get saved in the two dimensional array?
Is <code>$chardata['cols'][]</code> going from row <em>0</em> to row <em>n</em>?</p>
