I have following in a csv file:
sku,quantity,price
----------------------
ML2225-1/4,10,38.77
ML2225-1/4,20,36
ML2225-1/4,30,33.23
ML2225-5/16,10,35.94
ML2225-5/16,20,33.37
ML2225-5/16,30,30.8
ML2225-3/8,10,34.37
ML2225-3/8,20,31.92
ML2225-3/8,30,29.46
ML2225-7/16,10,34.37
ML2225-7/16,20,31.92
ML2225-7/16,30,29.46
ML2225-1/2,10,34.37
ML2225-1/2,20,31.92
ML2225-1/2,30,29.46
...
I am able to read the file (fgetcsv). How do I build an array for each unique sku set, then do something, then continue to the next unique sku set?
Thanks,
Mike