Hey guys,
Is there any simple and elegant way to show a message to the users if there are no posts/articles to show?
<div class="row">
@foreach($annoncer as $key => $value)
<div class="column full box">
<div class="media-body">
My guess is that i should use a conditional before my foreach loop e.g: @if no-posts(this is the part where i am stuck)
Thanks in advance!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community