Hi all,
For some reasons (In fact, to eliminate errors in blade) I want to code like that in blade:
@if (array_key_exists(6, $a))
{{ a[6] }}
@else
it is empty
@endif
Is that a good practice?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community