Laravel this is not only a practical framework, it is also a programming style
i have foreach like this
foeach($lists as $list){ echo '<li class="">'. $list .'</li>'; }
how i can add active to first li class once like this class="active" and other loops show with empy class "default"
class="active"
Aucun commentaire:
Enregistrer un commentaire