Ok ill explain what im doin. I have to convert a .csv file and output it into a mysql data base but before i do it i have to manipulate it a little. Im using this code to import the .csv file,
What i am trying to accomplish right after i get the data is put it into one multidimensiona l array.
but how would i do this, i considered maybe creating an array and pushing each row i get in the while loop into it.
Let me know if anyone has any ideas.
Code:
file = fopen("$filename", "r+"); #Reads the file names.
while (($data = fgetcsv($file, 1000, ",")) !== FALSE){}
but how would i do this, i considered maybe creating an array and pushing each row i get in the while loop into it.
Let me know if anyone has any ideas.
Comment