2

Can anyone please tell me where i am wrong,

Just want to send one variable from one blade through include but getting error.The code in view is

@include('core::partials/breadcrumb/breadcrumb-list', array('breadcrumb' => $breadcrumb,'value'=>'none'))

and when i display this variable using {{$value}} giving me error.

Please help me out

user2110253
  • 317
  • 4
  • 12
  • Undefine variable error details good read is this : http://stackoverflow.com/questions/4261133/php-notice-undefined-variable-and-notice-undefined-index – Marc Giroux Jun 17 '16 at 12:38

1 Answers1

1

You have wrongly entered view name.

It should be:-

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

Refer documentation

Ravi Hirani
  • 6,511
  • 1
  • 27
  • 42