I have a csv file that I want to use with php. The first thing in the csv are column names. Everything is separated by commas.
I want to be able to put the column names as the array name and all the values for that column would be under that array name. So if there were 20 rows under column1 then I could do column1[0] and the first instance (not the column name) would display for column1.
How would I do that?