<?php $results = [ (object)['name' => 'A'], (object)['name' => 'B'], (object)['name' => 'C'] ]; echo implode(',', array_column($results, 'name'));
You have javascript disabled. You will not be able to edit any code.