下面的代码在b7233f5d5bc1ea1ea4b2b6e36abbbf198d2e611f.php中给出错误FatalErrorException 语法错误,意外的'{'
<a class="booking-item-review-person-avatar round" href="#">
<img src="asset('{{$trip->image}}')" alt="Image Alternative text" title="Afro" style="max-width: 120px;height:120px"/>
</a>
答案 0 :(得分:0)
试试这个
<img src="{{asset($trip->image)}}" alt="Image Alternative text" title="Afro" style="max-width: 120px;height:120px"/>