!= or <> does not work in @if
When I use
@if($variable <> 0) text @endif
@if($variable != 0) text @endif
In blade file it does not work , other comparisions work perfectly.
You know anything about that?
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!