printing array not working
<p>hello everyone i am printing array from the database in the following format </p>

<pre><code>Array ( [0] =&gt; 14
        [task_id] =&gt; 14
        [1] =&gt; 123
        [user_id] =&gt; 123
        [2] =&gt; 456
        [employee_id] =&gt; 456
        [3] =&gt; 2
        [service_id] =&gt; 2
        [4] =&gt; 2:00 AM
        [starttime] =&gt; 2:00 AM
        [5] =&gt; 4:00 AM
        [endtime] =&gt; 4:00 AM
        [6] =&gt; se a
        [servicename] =&gt; se a
        [7] =&gt; ddsdsd
        [servicedescription] =&gt; ddsdsd
        [8] =&gt; dsd
        [employeename] =&gt; dsd
        [9] =&gt; pictures/noimage.gif
        [employeepicture] =&gt; pictures/noimage.gif
        [10] =&gt; pictures/noimage.gif
        [pic_path] =&gt; pictures/noimage.gif ) 
</code></pre>

<p>It is the result of</p>

<pre><code>$rd = $this-&gt;executeQuery();
$recordsArray = array(); 
while (($row = mysqli_fetch_array($rd)) ){
$recordsArray[] = $row; 
</code></pre>

<p>problem is how can i pick the single record from it like this</p>

<pre><code>echo $row[$task_id]; // not working 
</code></pre>

<p>Thanks</p>
