Quote:
Originally Posted by Fou-Lu
I don't understand your question. The date is specified as having its own column in this table already.
|
Yeah but the problem is all dates get listed in different rows.. i need output like this
PHP Code:
<table width="443" border="1">
<tr>
<th rowspan="2" scope="col">Id</th>
<th rowspan="2" scope="col">StudentName</th>
<th rowspan="2" scope="col">StudRoll</th>
<th colspan="3" scope="col">Attendance</th>
</tr>
<tr>
<th scope="col">15-10-2012</th>
<th scope="col">16-10-2012</th>
<th scope="col">17-10-2012</th>
</tr>
</table>
I hope you got what I meant. I need these selected dates separately and list who were present and absent on those days