php echo array value by key and update it later code example
Example 1: php get all values from array
array_values(array)
Example 2: php array extract value
<?php
$array = array("size" => "XL", "color" => "gold");
print_r(array_values($array));
?>