foreach($regList as $record) { echo $record['nev'] . ' ' . $record['ar'] . '
'; }