Support the ongoing development of Laravel.io →
Requests Views Blade
Last updated 2 years ago.
0

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>

@stop

0

@extends('layout') , this is creating problem is blank.blade.php.

If @extends not used, then working well

0

Anywhere we can see the entire code? (layout.blade.php etc)

0

Sign in to participate in this thread!

Eventy

Your banner here too?

arctushar arctushar Joined 5 Oct 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.