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