I am trying to import a CSV file. Due to the program we use, the first row is basically all headers that I would like to skip since I\'ve already put my own headers in via
this worked for me:
$count = 0; while(! feof($file)) { $entry = fgetcsv($file, 0, ';'); if ($count > 0) { //skip first line, header } $count++; }