sandy1028 Posted August 24, 2007 Share Posted August 24, 2007 Hi, I have a columns.. For each columns there is 3 sub columns I should display the sub columns as the number of columns increases dynamically... How can I do it. echo "<td colspan=\"3\"><div align=\"center\" class=\"tduser\"> $tex[0]</div></td>"; echo "<td bgcolor=\"#E2DCBA\"> <div align=\"center\">"; echo "<p class=\"cluster\"> </p></div></td>"; echo "<td class=\"run\"> <div align=\"center\" class=\"r\"><b>R</b></div></td>"; echo "<td class=\"wait\"> <div align=\"center\">"; echo "<p align=\"center\" class=\"wait\"><b>W</b></p></div></td>"; echo "<td class=\"process\"> <div align=\"center\">"; echo "<p class=\"process\"><b>P</b></p>"; echo "</div></td>"; Quote Link to comment https://forums.phpfreaks.com/topic/66457-sub-columns-and-columns/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.