$num=mysql_num_rows($result); for($i=0;$i<$num;$i++) { $row=mysql_fetch_assoc($result); $arr[]=$row; }
PHP code?123while($row=mysql_fetch_assoc($result)){ $arr[]=$row;}
while($row=mysql_fetch_assoc($result)){ $arr[]=$row; }
21,886
社区成员
140,364
社区内容
加载中
试试用AI创作助手写篇文章吧