Answers for "laravel list get x amount in a collection"

PHP
0

laravel list get x amount in a collection

@foreach($comments->take(5) as $comment)
   <p>Name user: {{$comment->name}}</p>
   <p>Comment: {{$comment->comment}}</p>
@endforeach
Posted by: Guest on July-26-2021

Code answers related to "laravel list get x amount in a collection"

Browse Popular Code Answers by Language