我想只取出每一个键值里面的uid,但不要有下标。
回复内容:
我想只取出每一个键值里面的uid,但不要有下标。
array_column($arr, 'uid');
也可以
$temp = array();foreach ($a as $b) { $temp[] = $b['uid'];}