close
轉自 https://laracasts.com/discuss/channels/laravel/how-to-set-a-variable-in-blade-laravel-53
使用:
@php
php指令
@endphp
--
But you can try@php ($p3 = $key['p3'])
OR
@php
$p3 = $key['p3']
@endphp
Above both are same.
--
全站熱搜
留言列表