<?php $arr=array(); $arr[0]['id']='123'; $arr[0]['otherdatas']=''; $arr[1]['id']='234'; $arr[1]['otherdatas']=''; $arr[2]['id']='567'; echo implode(',',array_column($arr,'id'));
You have javascript disabled. You will not be able to edit any code.