Laravel Tip - Use @forelse Instead Of @foreach Inside Laravel Blade

preview_player
Показать описание
In this video, we will look at using forelse instead of foreach in Laravel Blade. It will force us to write what happens when there is no data available which otherwise we may miss.

Social Media Links:

Let's be friends

Follow On Facebook

Follow On Twitter

Tech stack:
Laravel
PHP

#laravel #php #laraveltip #laratips
Рекомендации по теме
Комментарии
Автор

Thank you, sir, I have a problem. When I put foreach or forelse, show up the duplicated data. How to solve this? thanks

koxjnk
Автор

hey i have a problem i need ur help when i wright @foreach in visual studio, he dnot recognized @foreach its like im writing normal text what should i do ?

aymanesadki