アットウィキロゴ

php-01

<?php  
$handle = fopen("data01.csv", "r");
$n = 1;
while (($csvdata = fgetcsv($handle, 1000, ",")) !== FALSE) {  
    for ($c=0; $c < 3; $c++) {
$data[$n] = $csvdata[$c];
$n = $n +1;      
}
}
fclose($handle);
print($data[1]);
?>
最終更新:2010年08月09日 03:56