<?php $a=array("red","green"); array_push($a,"blue","yellow"); print_r($a); ?>
// If you are creating new array then try this : $arr = array("key" => "value"); // And if array is already created then try this : $arr["key"] = "value";
<?php $image[0] = $image[0].','.$filename; ?>