while(@$row=mysql_fetch_array($result, $result_type)){ $rows[]=$row; }里的 $rows[]=$row; 这句没明白什么意思?
4 回答

十月天下的细雨
TA贡献1条经验 获得超1个赞
找到了这是PHP数组的一种使用方法,这样输出的数组包含所有数据。
$b = array();
$b[] = 'a';
$b[] = 'b';
$b[] = 'c';
// array(0 => 'a', 1 => 'b', 2 => 'c'), or simply array('a', 'b', 'c').
- 4 回答
- 0 关注
- 1797 浏览
添加回答
举报
0/150
提交
取消