I have a csv file that I want to have php use. The first thing in the csv are the column names. Everything is separated by commas.
I want to be able to have the column names be 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 the first instance (not the column name) would display for column1.
How would I do that?