Changing a value from assoc array
I use a framework and 

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

Above code creates an assoc array.

What i want is that changing a value from assoc array.

when i use this

    print_r($comment)

it prints:



    
 

       
        Array
    (
        [ID] =&gt; 1236229
        [COMMENT] =&gt; 
    
    
        [USER_ID] =&gt; 270478
        [ADD_DATE] =&gt; 2011-01-30 07:02:12
        [MOVIE_ID] =&gt; 1500
        [STAT] =&gt; onayli
        [REPLY_ID] =&gt; 
        [DELETED_BY] =&gt; 
        [VERIFIED_BY] =&gt; 
        [VERIFY_DATE] =&gt; 
        [DELETED_DATE] =&gt; 
        [VOTE_COUNT] =&gt; 0
        [VOTE_AVG] =&gt; 0.00
        [IP] =&gt; 88.244.0.235
        [INFORMED_BY] =&gt; 
        [INFORM_DATE] =&gt; 
        [INFORM_REASON] =&gt; 
        [SPOILER] =&gt; 0
        [WATCHED] =&gt; 0
    )

what i want is that changing STAT value

$comment->STAT = 'deleted' does not work. What might be the right one ? 
Changing a value from assoc array
===

I use a framework and 

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

Above code creates an assoc array.

What i want is that changing a value from assoc array.

when i use this

    print_r($comment)

it prints:



    
 

       
        Array
    (
        [ID] =&gt; 1236229
        [COMMENT] =&gt; 
    
    
        [USER_ID] =&gt; 270478
        [ADD_DATE] =&gt; 2011-01-30 07:02:12
        [MOVIE_ID] =&gt; 1500
        [STAT] =&gt; onayli
        [REPLY_ID] =&gt; 
        [DELETED_BY] =&gt; 
        [VERIFIED_BY] =&gt; 
        [VERIFY_DATE] =&gt; 
        [DELETED_DATE] =&gt; 
        [VOTE_COUNT] =&gt; 0
        [VOTE_AVG] =&gt; 0.00
        [IP] =&gt; 88.244.0.235
        [INFORMED_BY] =&gt; 
        [INFORM_DATE] =&gt; 
        [INFORM_REASON] =&gt; 
        [SPOILER] =&gt; 0
        [WATCHED] =&gt; 0
    )

what i want is that changing STAT value

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