Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

passing data from controller to blade view laravel

@for($i = 1; $i < count($pics); $i++)
<li data-target="#carousel-example-generic" data-slide-to="{{ $i }}"></li>
@endfor
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #passing #data #controller #blade #view #laravel
ADD COMMENT
Topic
Name
1+1 =