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

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -