laravel - Dynamic information in my include file -


i'm using @include('folder.mypage') usual include page contains dynamic information. unfortunately dynamic information not being included. how round this?

you can pass dynamic information view include including array of data.

@include('view.name', ['some' => 'data']) 

http://laravel.com/docs/5.1/blade#control-structures


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -