Jump to content

Read CSV Headers


Hooker

Recommended Posts

Hello,

 

I'm sure this is a fairly easy problem to solve but i can't seem to find alot of information on it, is there anyway to read the column headers (and just the headers) in a CSV file? i'm writing an automised system that requires a person to identify which headers are which but the csv files are millions of rows and reading the entire file isn't practical.

 

If anyone could help me i'd really appreciate it.

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/116132-read-csv-headers/
Share on other sites

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.