You would have to do it like this.
return View::make('account.selling', ['details' => $details, 'bladeVarName => Category::leftJoin('users_information.id', '=', 'category.id')->leftJoin('itemsinformation.id', '=', users_information.id)->get()])
That should get you going. It would probably be easier to read if you put the Elougent call in a variable and then call it in the View.
Hope that gets you going in the right direction
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community