@foreach($myheadings as $heading) @endforeach @foreach($myheadings_row as $row) @foreach($headings_id as $comp_id) @endforeach @endforeach
{{ $heading == 'not_set' ? 'undefine' : $heading }}
{{ $row['email'] == 'not_set' ? '': $row['email'] }} {{ $row['first_name'] == 'not_set' ? '' : $row['first_name'] }} {{ $row['middle_name'] == 'not_set' ? '' : $row['middle_name'] }} {{ $row['last_name'] == 'not_set' ? '' : $row['last_name'] }}{{ $row[$comp_id] == 'not_set' ? '' : $row[$comp_id] }}