How to make a variable optional in blade template (laravel 8)

后端 未结 0 1038
被撕碎了的回忆
被撕碎了的回忆 2021-01-18 14:50

I get an error :

$count is undefined Make the variable optional in the blade template. Replace {{ $count }} with {{ $count ?? \'\' }}

Here is my blade file:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题