how to push a record in an array for a specific key in php code example Example: php array push key value <?php $image[0] = $image[0].','.$filename; ?>