数据库提到的数据一般是资源类型的,要逐一读出,添加到数组 while($row = mysql_fetch_assoc($res)) { $data[] = $row; }
https://zhidao.baidu.com/question/1822529398926942268.html
评论功能已关闭。