Jump to content

[SOLVED] fgetcsv: how not to retreive the csv header


ifubad

Recommended Posts

When using fgetcsv, it reads in line by line, but I don't want to read in the header of the csv file, is there an easier way to not read that first line? Or, is the only way to do that is to check either using a conditional statement to skip the first read OR check $array[0] and then determine what to do with it?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.