I'm having a problem in reading a csv file into array. Below is the sample of the csv file (consist of 6 rows of data).
2,1,1,FF,FRESH FRUITS,ACTIVE,PURCHASE,0,0 3,1,2,AAA,AAAA,ACTIVE,SALES,0,1 1,1,3,BBB,BBBB,INACTIVE,SALES,1,1 6,1,4,CCC,CCCC,ACTIVE,SALES,1,0 5,3,1 5,3,2
Anyone can help on this? Thanks in advance.
p/s: I can do the read and load all the elements correctly if number of columns are the same.