table.php 259 B

123456789101112
  1. <table class="<?php echo $vars['class']; ?>">
  2. <?php
  3. echo "<thead><tr><th>column 1</th><th>column 2</th></tr></thead>";
  4. for ($i = 1; $i < 5; $i++) {
  5. echo '<tr>';
  6. for ($j = 1; $j < 3; $j++) {
  7. echo "<td>value $j</td>";
  8. }
  9. echo '</tr>';
  10. }
  11. ?>
  12. </table>