This works fine using php echo
<!-- app/views/example.blade.php -->
<p><?php echo $taylorTheVampireSlayer; ?></p>
The below code out puts the double brackets.
Seems like the blade templating system isn' working on my localhost/lampstack.
I have checked all permissions and tried the original code to
<!-- app/views/example.blade.php -->
<p>{{ $taylorTheVampireSlayer }}</p>
Try using these!
Blade::setContentTags('{{', '}}'); // for variables and all things Blade
Blade::setEscapedContentTags('{{{', '}}}'); // for escaped data
Hope this helps! happy larveling :)
I had the same issue and it has been solved by changing the name of the views by adding " .blade " between "name" and ".php" like Eluong said.
name.php : issues name.blade.php : solved
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With