How to write html code in laravel controller?



How to write html code in laravel controller?..

Answer / Reeturaj Pandey

You should return a view from your controller that contains the HTML code you want to display. In the view, you can use plain HTML or Blade syntax.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Laravel PHP Framework Interview Questions

How can we use middleware in laravel?

1 Answers  


How to get last inserted id using laravel query?

1 Answers  


What is laravel horizon?

1 Answers  


Write down the name of some aggregates methods provided by the laravel's query builder.

1 Answers  


How to get configuration values in laravel?

1 Answers  


How to configure cron jobs in homestead?

1 Answers  


What are the difference between insert() and insertgetid() in laravel?

1 Answers  


Explain how to register a middleware in laravel?

1 Answers  


What are class traits?

1 Answers  


What is laravel mvc?

1 Answers  


What are seeds in laravel?

1 Answers  


What is use keyword in laravel?

1 Answers  


Categories