blade set variable
@php ($i = 1)
blade set variable
@php ($i = 1)
laravel 5.4 forelse
@forelse ($users as $user)
<li>{{ $user->name }}</li>
@empty
<p>No users</p>
@endforelse
blade if
@if (count($records) === 1)
I have one record!
@elseif (count($records) > 1)
I have multiple records!
@else
I don't have any records!
@endif
laravel include with variable
@include('layouts.article', ['mainTitle' => "404, page not found", 'mainContent' => "sorry, but the requested page does not exist :("])
laravel blade @if 3 varabile
@if(is_null($key['p3']))
{{--*/$p3 = $key['p3']/*--}}
@else
{{ 0 }}
@endif
@if(is_null($key['wabku']))
{{--*/$wabku = $key['wabku']/*--}}
@else
{{ 0 }}
@endif
<td class="tg-rv4w" width="5%">
{{ number_format($p3 - $wabku,0,',','.') }}
</td>
@php
$p3 = $key['p3']
@endphp
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us