Jump to content

display QUERY problem??????


rajmohan

Recommended Posts

Hai guys,


i am having a table like this

-------------------------------
name  |  from_date  |  to_date 
-------------------------------
a          27 dec 2006    30 dec 2006
b          1 jan  2007    4 jan 2007
c          10 jan 2007    15 jan 2007
d          16 feb 2007    20 feb 2007
e          22 feb 2007    25 feb 2007
f          2 mar 2007    5 mar 2007


i have to display it like this

dec 2006
---------
27 - 30  a

jan 2007
---------
1 - 4    b
10 - 15  c

feb 2007
---------
16  - 20 d
22  - 25 e

etc.....

help me any one now how to do this one
Link to comment
https://forums.phpfreaks.com/topic/31474-display-query-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.