Support the ongoing development of Laravel.io →
posted 9 years ago
Database
Last updated 1 year ago.
0

In your select statement quote each field.

$orders = DB::table('orders') ->select('orders.id', 'orders.created_at', 'customers.full_name') ->join('customers', 'orders.customer_id', '=', 'customers.id') ->paginate(20); return View::make('backend.admin.orders.index')->with('title','Siparişleri Yönet')->with('orders',$orders);
Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

toorta toorta Joined 27 Aug 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.