How do I implement if the schedule has been expired where in I want to return a status of "Match will start soon".
here is the code:
@if($match->schedule > 0)
<strong id="match_schedule">Match will start soon</strong>
@endif
I tried :
@if($match->schedule > $match->schedule)
<strong id="match_schedule">Match will start soon</strong>
@endif
but it doesn't work. any ideas?
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2VlmHQi
via IFTTT
Aucun commentaire:
Enregistrer un commentaire