Why would you want to do that? It is much cleaner to keep the HTML content inside a view template.
Actually, I am creating the html templates dynamically with layouts. I don't want to modified code again and again for every layout. My header and footers needs to modified every day thats why I am seeking this solution.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community