php laravel @include code example
Example: use if in laravel blade
@if($user->status =='active')
<td>{{ $user->name }}</td>
@else
<td> Guest </td>
@endif
@if($user->status =='active')
<td>{{ $user->name }}</td>
@else
<td> Guest </td>
@endif