Support the ongoing development of Laravel.io →
posted 10 years ago
Eloquent
Last updated 2 years ago.
0

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

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

amilajack amilajack Joined 19 Jul 2014

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.