Automatic Colspan from database data
| From: | Dhaval Desai | Date: | Sat, 09 Nov 2002 16:57:30 +0000 |
| Subject: | Automatic Colspan from database data | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-123595@lists.php.net to get a copy of this message | ||
Hi everybody!
Well this is how it goes...
For the month of January there are 31 days...
so there are 2 rows in this table on the top row there are 31 columns showing 31 days...and in the row below this one we will have to generate....colspan based on the below information pulled from the database...
2222211111111111111999999992222
in the above case we will have to get a colspan as follows:
<tr>
<td colspan="5"> 2 </td>
<td colspan="15"> 1 </td>
<td colspan="8"> 9 </td>
<td>colspan="4"> 2 </td>
</tr>
This is all I want to do....I know it is difficult...but still waiting for some genius!
Thank You!
Dhaval
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail