changeset 178:6a7ff339b4bb

Keep track of subcolumns for grouped entries.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 25 Aug 2015 08:32:16 +0300
parents f8ae384b817e
children 5f3ec534daa7
files index.php
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/index.php	Tue Aug 25 08:31:20 2015 +0300
+++ b/index.php	Tue Aug 25 08:32:16 2015 +0300
@@ -272,6 +272,7 @@
     $out .= "</tr>";
 
     // Print rest of the data
+    $ncol = 1;
     for ($i = 1; $i < $maxColumns; $i++)
     {
       $out .= "<tr>";
@@ -283,6 +284,7 @@
         $out .= "</td>";
       }
       $out .= "</tr>";
+      $ncol++;
     }
 
     $out .= "</table>";