hey i have a problem i need ur help when i wright @foreach in visual studio, he dnot recognized @foreach its like im writing normal text what should i do ?
@@Laratips ok i will try that because what im trying to do is import data from sql server in my blade.php page this is how it look : @foreach($listado as $1)
{{$1->id_v}} {{$1->username}} {{11->mdp}} @endforeach i try to fixed by writing !! in the tags of data name colon {!!$1->id_v!!} {!!$1->username!!} {!!11->mdp!!} but he give me this error : syntax error, unexpected token "foreach"
Very good tutorial! Thanks!
very informative
Awesome.
OSM
Thank you, sir, I have a problem. When I put foreach or forelse, show up the duplicated data. How to solve this? thanks
hey i have a problem i need ur help when i wright @foreach in visual studio, he dnot recognized @foreach its like im writing normal text what should i do ?
You can install "Laravel Blade Snippets" package and may be your issue will be resolved
@@Laratips ok i will try that because what im trying to do is import data from sql server in my blade.php page this is how it look : @foreach($listado as $1)
{{$1->id_v}}
{{$1->username}}
{{11->mdp}}
@endforeach
i try to fixed by writing !! in the tags of data name colon
{!!$1->id_v!!}
{!!$1->username!!}
{!!11->mdp!!}
but he give me this error :
syntax error, unexpected token "foreach"
You are writing $1 as variable name which is not supported in php.
And also in one line you are doing 11->mdp.
After you fix this, it should work
@@Laratips yes it's working thanks u 😊