hello DaniWeb Forum,
I need help with reading a csv.
Here's the file:
product name, color, width, quantity, subtotal
product1, red, 20", 200, $30
proudct2, blue, 30", 10, $12
I've written code that creates this file as an order.
What I'd like to do is read the subtotals and generate a grand total.
So I need to read all of the $data[$k][4] and generate a sum.
Any help would be greatly appreciated.
Peace