How to write php code in laravel blade?



How to write php code in laravel blade?..

Answer / Dolly Rani

You can write PHP code within Laravel Blade templates by enclosing the code within double curly braces ({{ and }}).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Laravel PHP Framework Interview Questions

How to use multiple or condition in laravel query?

1 Answers  


How do I set up the eloquent relationships between the aforementioned comments and authors, including creating the schema design?

1 Answers  


What is the difference between facades vs helper functions?

1 Answers  


Explain the concept of encryption and decryption in laravel.

1 Answers  


What is routing in laravel?

1 Answers  


How we can get user's detail when he is logged in using auth?

1 Answers  


What is redirect routes?

1 Answers  


What is algolia search?

1 Answers  


What is binding?

1 Answers  


How to use ajax in any form submission?

1 Answers  


What is query builder in laravel?

1 Answers  


What do you mean by composer?

1 Answers  


Categories