php遍历mysql对象数组_PHP 遍历数组的方法汇总
$fruits= array("apple","orange","banana");$fruit= current($fruits); //return "apple"echo $fruit."";$fruit= next($fruits); //return "orange"echo $fruit."";$fruit= prev($fruits); //r