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