@extends('theme.master') @section('title', 'Create Faculty Questions') @section('content') @include('admin.message') Create Questions @csrf Category:* @php $question_bank_categorys = DB::table('question_bank_category')->get(); @endphp @foreach($question_bank_categorys as $this_qcat) {{ $this_qcat->name }} @endforeach Type:* @php $question_bank_categorys = DB::table('question_bank_category')->get(); @endphp @foreach($question_bank_categorys as $this_qcat) @php $question_bank_subcategory = DB::table('question_bank_subcategory')->where('cat_id', $this_qcat->id)->get(); @endphp @foreach($question_bank_subcategory as $this_qsat) {{ $this_qsat->name }} @endforeach @endforeach @php $question_bank_subcategory2 = DB::table('question_bank_subcategory')->where('cat_id', 0)->get(); @endphp @foreach($question_bank_subcategory2 as $this_qsat) {{ $this_qsat->name }} @endforeach Add Question: 1* Question:* Option A:* Option B:* Option C:* Option D:* Solution:* Correct Answer:* A B C D {{ __('adminstaticword.Save') }} Add More Questions @endsection @section('custom-script') @endsection