Support the ongoing development of →
Eloquent Laravel
Last updated 1 year ago.

Why dont you do

                 $discs 	= DB::table('interview_test_disc_answer')
	->where('id_interview_schedules', $schedule_id)
	->select('sort','ops_a', 'ops_b', 'ops_c', 'ops_d')
	->orderby('sort', 'ASC')

Also try by using '->unique();'

I believe the problem is that You are trying to acces an object calling ->value but thats not an object is an array.

Try using


Instead of


Hope this helps.



Sign in to participate in this thread!


Your banner here too?

Kang Mul omysurya Joined 24 Aug 2018


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 - All rights reserved.