@extends('admin/layouts.master') @section('title', 'Mock Questions- Admin') @section('body') @if ($errors->any())
@endif
@include('admin.message')
@php $quesionnumber=App\MockQuestions::where('topic_id', $topic->id)->where('subcategory', $topic->subcategory)->where('child_category', $subject)->get(); $wordCount = $quesionnumber->count(); $questionnum = $quesionnumber->count(); $topicname=App\MockTestTopic::where('id', $topic->id)->first(); $subname=App\ChildCategory::where('id', $subject)->first(); @endphp

{{$topicname->title}} - {{$subname->title}}-Add - Question No. {{++$wordCount}}

{{ csrf_field() }} @php $lastdirection=App\MockQuestions::where('topic_id', $topic->id)->where('child_category', $subject)->orderBy('id', 'DESC')->first(); @endphp










@endsection @section('scripts') @endsection