but #sura.blade.php is working well
@extends('layout')
@section('content')
<table> @foreach($data as $datas) <tr> @if (($lang) === 'en') <td>{{$datas->english}}</td> @elseif (($lang) === 'bn') <td>{{$datas->bengali}}</td> @else <td>{{$datas->arabic}}</td> @endif </tr> @endforeach<p>{{$sura}}</p>
<p>{{$ayat}}</p>
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community