Laravel variable outside foreach loop displays null

前端 未结 0 430
太阳男子
太阳男子 2021-01-27 21:51

Please the variable is printing null when outside of a foreach loop. It prints the right thing when I added it within the loop. How do I display the records on the view.

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