@extends("quran_project_files.quran_welcome_page") @section("content") @php use Illuminate\Support\Facades\DB; @endphp
@foreach ($result as $item) @php $tartel = DB::select('select tartel_arabic_name from quran_tartel where tartel_id = ?', [$item->tartel_id]); $reader = DB::select('select reader_arabic_name from quran_reader where reader_id = ?', [$item->reader_id]); $qeraa = DB::select('select qeraa_arabic_name from quran_qeraa where qeraa_id = ?', [$item->qeraa_id]); $surah_name = DB::select('select surah_arabic_name from quran_surah where surah_id = ?', [$surah_id]); foreach ($tartel as $tartels) { $new_tartel_arabic_name = str_replace("_" , " " , $tartels->tartel_arabic_name); } foreach ($reader as $readers) { $new_reader_arabic_name = str_replace("_" , " " , $readers->reader_arabic_name); } foreach ($qeraa as $qeraas) { $new_qeraa_arabic_name = str_replace("_" , " " , $qeraas->qeraa_arabic_name); } @endphp
اسم الترتيل
{{$new_tartel_arabic_name}}
اسم القراءة
{{$new_qeraa_arabic_name}}
القراء
{{$new_reader_arabic_name}}
@endforeach

@stop