I'm trying to do the following in php
and mysql
:
What is in parentheses is the number of results within each month. For this, I am saving in my database, in the tbl_noticias
table the data
field of type yyyy-mm-dd
. I'm still saving the id
field among others (I do not need to here). I can not figure out how to get to this end result using mysql