标签: php mysql
我正在使用(MySQL:id是int数据类型)
GROUP_CONCAT(id) AS ids Example output = 1,2,3,4,5;
然后将whats返回到一个数组中,但它仍然以blob形式返回,我需要将整数分开。
Array ( [0] => 1,2,3,4,5 )
有什么想法吗?
非常感谢
答案 0 :(得分:6)
$numbers = explode(',', $numbers[0]);