How to append a Value in cck field in a for loop? I want to keep a progress field in my content type so i can update value in it. But it doesn't take the previous value if saved in for loop.

for($i = 1; $i&lt;=5; $i++) {
    $mynode = node_load(6);
    $myprevious = $mynode-&gt;field_progress[0]['value'];
    drupal_set_message("My Previous".$myprevious);
    $mynode-&gt;field_progress[0]['value'] = $myprevious." ".$i." ";
    node_submit($mynode);
    node_save($mynode);
}
$mynode = node_load(6);
drupal_set_message("My Value".$mynode-&gt;field_progress[0]['value']);
$myprevous_progress = $mynode-&gt;field_progress[0]['value'];
$mynode-&gt;field_progress[0]['value'] = $myprevous_progress.' end.'.$myprevous_progress;
node_save($mynode);


Output on page :

My Previous
My Previous
My Previous
My Previous
My Previous
My Value
Solved It by using 

$mynode = node_load(6); //Load the node before for loop
for($i = 1; $i&lt;=5; $i++) {
    $myprevious = $mynode-&gt;field_progress[0]['value'];
    drupal_set_message("My Previous".$myprevious);
    $mynode-&gt;field_progress[0]['value'] = $myprevious." ".$i." ";
    node_submit($mynode);
    node_save($mynode);
}
drupal_set_message("My Value".$mynode-&gt;field_progress[0]['value']);
$myprevous_progress = $mynode-&gt;field_progress[0]['value'];
$mynode-&gt;field_progress[0]['value'] = $myprevous_progress.' end.'.$myprevous_progress;
node_save($mynode);