how to print out of an array php code example
Example 1: print array in php
print_r($array);
Example 2: print array on php
foreach($results['data'] as $result) {
echo $result['type'], '<br>';
}
print_r($array);
foreach($results['data'] as $result) {
echo $result['type'], '<br>';
}