foreach ($result as $v) { foreach ($v as $n) { $m[] = $n; }} 转载于:https://www.cnblogs.com/y-rong/p/5856138.html