I'm joing two table and then find the specified record but unfortunately it doesnt work.
$users = DB::table('users')
->join('user_details', 'users.id', '=', 'user_details.id')
//->select('users.*', 'contacts.phone', 'orders.price')
->get()->find(1);
any ideas help?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire