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