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