Changing a value from assoc array
<p>I use a framework and </p>

<pre><code>  $comment = NCore::db("MOVIE_COMMENT")-&gt;select()-&gt;eq("ID", $arr[0])-&gt;eq("MOVIE_ID", $arr[1])-&gt;fetch(FETCH_ASSOC, TRUE);
</code></pre>

<p>Above code creates an assoc array.</p>

<p>What i want is that changing a value from assoc array.</p>

<p>when i use this</p>

<pre><code>print_r($comment)
</code></pre>

<p>it prints:</p>

<pre><code>    Array
(
    [ID] =&amp;gt; 1236229
    [COMMENT] =&amp;gt; 


    [USER_ID] =&amp;gt; 270478
    [ADD_DATE] =&amp;gt; 2011-01-30 07:02:12
    [MOVIE_ID] =&amp;gt; 1500
    [STAT] =&amp;gt; onayli
    [REPLY_ID] =&amp;gt; 
    [DELETED_BY] =&amp;gt; 
    [VERIFIED_BY] =&amp;gt; 
    [VERIFY_DATE] =&amp;gt; 
    [DELETED_DATE] =&amp;gt; 
    [VOTE_COUNT] =&amp;gt; 0
    [VOTE_AVG] =&amp;gt; 0.00
    [IP] =&amp;gt; 88.244.0.235
    [INFORMED_BY] =&amp;gt; 
    [INFORM_DATE] =&amp;gt; 
    [INFORM_REASON] =&amp;gt; 
    [SPOILER] =&amp;gt; 0
    [WATCHED] =&amp;gt; 0
)
</code></pre>

<p>what i want is that changing STAT value</p>

<p>$comment->STAT = 'deleted' does not work. What might be the right one ? </p>
