I have sql table like
id name created_date
1 Raju oct-10
2 Ravi oct-10
3 Nag oct-11
4 Raghu oct-11
5 Sam oct-12
6 Sam oct-12
7 Sam oct-12
Now my requirement is to get list of users in html index page
OCT-10:
ravi
raju
OCT -11:
Nag
Raghu
OCT-12:
Sam
Sam
Sam
by using mvc or php please help me,i have to get data from database but based on date on page load