creating a weekly user registration report using php & mysql -


i'm working on application , i'm stuck. client demands add chart comparing registration data of week against of last week. example, if have series array, like

series: [{             name: 'last week',             data: [2, 4, 3, 5, 0, 10, 12]         }, {             name: 'this week',             data: [1, 0, 4, 3, 3, 5, 18]         }] 

where data last week , week represents number of users registered in each day of week. intend pour contents of array chart thhis:

i have chart implement this... problem structuring database, function detect days of week , update database number of registered users per day, , how pull data database such corresponds right day of week shown in chart.. i'm new php mysql. have checked stackoverflow problem , checked internet, find this post relating it, not want. please how suggest go this? help


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -