My For each return the task same as in URL Now I need to get the next task
@foreach ($Tasks as $Task)
@if ($Task->slug == Request::segment(5))
<h2></h2>
@endif
@if ($loop->remaining)
<p>Next Task is: </p>
@endif
@endforeach
I get the task in URL so I need to get next task in foreach but it returns empty
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2FrrYmq
via IFTTT
Aucun commentaire:
Enregistrer un commentaire