** Low Priority **

<snip>
  <?php  $tel = 1;
        $dbrows = mysql_num_rows($rsSubGroup);
  ?>
        <?php do { ?>

  <?php
     if (($tel % 2) >0)
      {echo "<tr>";
       echo "<td>";
       echo $row_rsSubGroup['name'];
       echo "</td>";
       if $tel == $dbrows{
       echo "</tr>";
       }
      }
      else
       {
       echo "<td>";
       echo $row_rsSubGroup['name'];
       echo "</td>";
       echo "</tr>";
       }
      $tel +=1;

   ?>
        <?php } while ($row_rsSubGroup =
mysql_fetch_assoc($rsSubGroup)); ?>
</snip>

I think you want to replace  if $tel == $dbrows with if ($tel ==
$dbrows).

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to