@if($user->status =='active')
<td>{{ $user->name }}</td>
@else
<td> Guest </td>
@endif
@if($name != '')
{{'Name is not empty!'}}
@else
{{"Name is empty!"}}
@endif
@if (count($records) === 1)
I have one record!
@elseif (count($records) > 1)
I have multiple records!
@else
I don't have any records!
@endif
@forelse ($array as $value)
{{ $value }}
@empty
<p>no values in array</p>
@endforelse
@if (isset($username))
<p>{{$username}}</p>
@endif
@if($order->status == 'NEEDS REVISION')
<td>{{$order->status}}</td>
@else
<td id="revision-status">{{$order->status}}</td>
@endif
@forelse ($users as $user)
<li>{{ $user->name }}</li>
@empty
<p>No users</p>
@endforelse
Code Example |
---|
:: |
:: |
:: |
Php :: Laravel Retrieve Session Data with default |
:: |
Php :: |
:: |
Php :: |
Php :: |
:: |
Php :: |
:: |
:: |
Php :: |
:: |
:: |
:: time left laravel seconds |
Php :: |
Php :: |
:: |
:: |
:: display image in html using php |
:: |
:: |
Php :: |
Php :: |
:: |
Php :: |
:: |
Php :: laravel amount migration |