mysql_fetch_array/assoc foreach が 1 つのレコードしか走査できない理由
foreach(mysql_fetch_array($result) as $key=>$row){<br /> <br /> print_r($row);<br /> <br /> }
while($row=mysql_fetch_array($result)) <br /> { <br /> $rows[] = $row; <br /> } <br /> <br /> foreach($rows as $k => $v) <br /> { <br /> foreach($v as $vv){<br /> echo $vv;<br /> }