Hello,
Im trying to calculate the total amount of tickets sold to an event.
My recordset rs_report returns the correct data and I loop the results so I can see each tickets sold, at what time, date etc.
What I dont know how to do is how to calculate the toatal amount of tickets sold
For instance my query would return:
date / ticket sold
2007/20/03 10
2007/19/03 1
2007/19/03 3
2007/19/03 1
ETC.
What I would like to do, at the bottom of my table is to display that 15 tickets have been sold for that event
my ticket quantity row is:
echo $row_rs_report['Quantity'];
Could you pls help?
Thanks,
Vinny