$array1 = ... ;
$array2 = ... ;
$array3 = ... ;
View::make('name-of-view', compact('array1', 'array2', 'array3');
This will result in variables $array1, $array2 and $array3 (or whatever you name them) being available in your view.
Worked perfectly - many thanks Peter :)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community