OK, i am a bit confused how to attempt this, i have a few ideas, but none are very efficient.
I have a table in a mySQL database called "tblOrderArchive" which is a table of orders on my site, i have a graph class which requires two arrays of values one for X axis one for Y, ok easy enough so far, but the scenario is as follows:
I need to make a graph as follows:
X axis - Week by Week
Y axis - Orders Taken
Graphname - "Orders per week"
To do so i need to generate arrays as follows:
xAxisData('21/05/2006','28/05/2006')
YAxisData('234','242')
etc
What would be the best way to get this data from my table in a week by week format? the table Schema is as follows:
id - int
client_fk - int
date - DataTime Type
htmlField - text
value - Decimal(11,2)
Any help would be VERY gratefull.
Regards,
HeavenCore