Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Laravel 7 view @php

@php
    $user_id = Auth::user()->id;
@endphp
 
PREVIOUS NEXT
Tagged: #Laravel #view
ADD COMMENT
Topic
Name
3+3 =