So, I\'m working with PHP for the first time and I am trying to retrieve and display the values of an array. After a lot of googling, the only methods I can find for this ar
use implode(',', $array); for output as apple,banana,orange
implode(',', $array);
apple,banana,orange
Or
foreach($array as $key => $value) { echo $key." is ". $value; }