Support the ongoing development of Laravel.io →
Views Blade Installation
Last updated 2 years ago.
0

@include('viewname') will search for the view file names viewname and include it.

you can use php's include or include_once to include a php file

if you give some code i might be able to help u

0

thanks astroanu. I have no idea but for some reason @include is working when it wasn't before. I can only put it down to a path issue. I've been getting so into blade specific script that I forgot to test if normal php includes would work so thanks for mentioning that as well.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

arkid arkid Joined 23 Oct 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.