DB::connection('NEWSTAFFPORTAL')->table('DeviceCheckout_checkout')->select('deviceID')
->where('inBy', '=', '')->get();
just change it and use lists('deviceID') to retrieve an array of that column info:
DB::connection('NEWSTAFFPORTAL')->table('DeviceCheckout_checkout')->where('inBy', '=', '')->lists('deviceID');
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community