now i'm not sure if this belongs in a mysql section but something tells me it's more of a php question.
so the is the deal:
i have this part in my website that will show shows (concerts) in order of the months by date.
so like all january would be shown in one group and then all february shows would be shown as well...in this fashion:
January:
show1
show2
show3
February:
show4
show5
show6
the problem is that i dont know how to retrieve the data in this format. what i wanted to do is do a while function that loops the months (Jan, Feb) and then inside that loop put another while function that loops all the shows in that month. since this is the first time i do this, i'm basically asking if there's other ways to do this more efficiently. something tells me that there has to be an easier way.
if anybody can help that'd be great. thanks for any insights.
so the is the deal:
i have this part in my website that will show shows (concerts) in order of the months by date.
so like all january would be shown in one group and then all february shows would be shown as well...in this fashion:
January:
show1
show2
show3
February:
show4
show5
show6
the problem is that i dont know how to retrieve the data in this format. what i wanted to do is do a while function that loops the months (Jan, Feb) and then inside that loop put another while function that loops all the shows in that month. since this is the first time i do this, i'm basically asking if there's other ways to do this more efficiently. something tells me that there has to be an easier way.
if anybody can help that'd be great. thanks for any insights.
