@extends('layouts.admin') @section('styles') @endsection @section('content') @php $mode = isset($mode)?$mode:"Language"; @endphp

Awarness Test {{((isset($data[0]['title'])?' - '.$data[0]['title']:''))}}

You have some form errors. Please check below.
Your form validation is successful!

Language Wise Awarness Test Data

@foreach($language as $langkey => $language_fields) @php $direction = ($language[$langkey]['direction'] == "2")?"rtl":"ltr"; @endphp @if($langkey == 0) @php $active = "active"; @endphp @else @php $active = ""; @endphp @endif
@if(isset($mcq_data) && !empty($mcq_data) && isset($mcq_data[0]['topic_questions']) && !empty($mcq_data[0]['topic_questions'])) @php $mcq_que_arr = $mcq_data[0]['topic_questions']; $mcq_que_option_arr = $mcq_data[0]['question_option']; $question = 0; @endphp @foreach($mcq_que_arr as $k=>$v) @php $question = $question + 1; @endphp @endforeach @else @endif
# MCQ Test Question Sequence No Status

   {{isset($v['question'])?$v['question']:''}}

@if(isset($mcq_que_option_arr) && !empty($mcq_que_option_arr)) @php $question_option = 0; @endphp @foreach($mcq_que_option_arr as $okey => $ovalue) @if($ovalue['topic_mcq_questions_id'] == $v['id']) @php $is_answer = (isset($ovalue['is_answer']) && $ovalue['is_answer'] == 1) ? 'checked' : ''; @endphp @else @php $question_option = -1; @endphp @endif @php $question_option++; @endphp @endforeach @endif
# Answer Text Is Answer
{{$question_option+1}}

{{isset($ovalue['option_value'])?$ovalue['option_value']:''}}

No Record Found!
@endforeach
@endsection @section('scripts') @endsection