laravel  报错htmlspecialchars() expects parameter 1 to be string, object given

翻译过来就是     期望参数1是字符串

  意思就是说变量为数组,应以数组的方式输出

  @foreach($xxx as $k=>$y)

    {{$k}}{{$y}}

  @endforeach

相关文章:

  • 2021-12-04
  • 2021-11-17
  • 2021-12-28
  • 2021-08-14
  • 2022-12-23
  • 2022-12-23
  • 2021-04-06
  • 2022-12-23
猜你喜欢
  • 2022-02-23
  • 2022-12-23
  • 2021-08-29
  • 2022-12-23
  • 2021-05-24
  • 2022-01-10
  • 2022-12-23
相关资源
相似解决方案