@extends('admin.layout.master') @section('problems','active') @section('contant')
@if(Session::get('errors')) {!!Session::forget('errors')!!} @endif @if(Session::get('success')) {!!Session::forget('success')!!} @endif
{{-- @if(session('delete'))
{{session('delete')}}
@endif --}}

@foreach($all_problem_anwser as $problem) @if($problem->status == 'correct') @else @endif {{-- --}} @endforeach
Date Title Answer Your Answer
{{$problem->created_at->format('Y-m-d')}} @if(!empty($problem->mcqs)){{$problem->mcqs->title}}@endif {{$problem->status}}{{$problem->status}} {{$problem->your_answer}} {{$problem->max_user}} {{$problem->max_total}} {{$problem->correct_answer}} {{$problem->end_date}} Edit Delete
Date Title Answer Your Answer
@endsection