how does this type of array operate in php?
<p>I am facing these codes over and over again in php, how does this work in php ?</p>

<pre><code>$data[$row['id']]
</code></pre>

<p>and </p>

<pre><code>$options['data']=$row[0];
</code></pre>
