{{ }} in blade is an echo (which gets replaced with php tags and an echo statement)... not sure why you are calling echo yourself ... would you like to show some more of your template?
– lagbox
You don't need to use echo in blade. To display some variable just use {{$variable}}
– alexey-novikov
case i open folder to read images inside it
– ahmad almasri
what you have above is this echo "<img src="<?php echo url('images/adult/'.$image); ?>'>";
– lagbox
1 Answers
0
votes
You don't need to use echo in blade templates.
You can write html directly in the blade template and then use the double curly braces to inject your php.
So you'd be looking at something more like
<img src="{{ url('images/adult/' . $image) }}">
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more
{{ }}
in blade is an echo (which gets replaced with php tags and an echo statement)... not sure why you are callingecho
yourself ... would you like to show some more of your template? – lagboxecho
in blade. To display some variable just use{{$variable}}
– alexey-novikovecho "<img src="<?php echo url('images/adult/'.$image); ?>'>";
– lagbox