supermatchgame
Programmer
Hello,
I have a table that contains data like this:
ProjectTimeID | ProjectID | PersonID | StartDate | EndDate
--------------|-----------|----------|-----------|--------
1 |1 |1 |2009-01-01 |2009-01-02
2 |2 |1 |2009-01-03 |2009-01-04
3 |1 |2 |2009-01-01 |2009-01-02
and I want to display the information like this:
Person | 01-01-2009 | 02-01-2009 | 03-01-2009
-------|------------|------------|------------
1 |1 |1 |2
2 |1 |1 |
Can someone suggest a link or some code which will show me how to achieve this?
Thanks.
I have a table that contains data like this:
ProjectTimeID | ProjectID | PersonID | StartDate | EndDate
--------------|-----------|----------|-----------|--------
1 |1 |1 |2009-01-01 |2009-01-02
2 |2 |1 |2009-01-03 |2009-01-04
3 |1 |2 |2009-01-01 |2009-01-02
and I want to display the information like this:
Person | 01-01-2009 | 02-01-2009 | 03-01-2009
-------|------------|------------|------------
1 |1 |1 |2
2 |1 |1 |
Can someone suggest a link or some code which will show me how to achieve this?
Thanks.