DB::table('table')->insert(array('column' => Table2::orderBy('id', 'desc')->first()->id));
Is one way to do it.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community