<?php
$handle = fopen("pro131.txt", "r");
$num = 1;
while (($csvdata = fgetcsv($handle, 100000, ",")) !== FALSE) {
for ($rank=0; $rank < 6; $rank++) {
$data[$num] = $csvdata[$rank];
$num = $num +1;
}
}
fclose($handle);
for ($i=1; $i < 11001; $i++) {
$num=6*($i-1);
$s=$data[$num+1];
$m=$data[$num+2];
$n=$data[$num+3];
$lx[$s][$m][$n]=$data[$num+4];
$cx[$s][$m][$n]=$data[$num+5];
$px[$s][$m][$n]=$data[$num+6];
}
for ($n=1; $n < 101; $n++) {
print($cx[4][4][$n]);
}
?>
最終更新:2009年11月11日 02:24