Gunakan jika di Laravel Blade
@if($user->status =='active')
<td>{{ $user->name }}</td>
@else
<td> Guest </td>
@endif
ssbrar
@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($sliderData) > 0)
{{'data'}}
@else
{{'data not found'}}
@endif
@if($order->status == 'NEEDS REVISION')
<td>{{$order->status}}</td>
@else
<td id="revision-status">{{$order->status}}</td>
@endif