Why numbers and why that sequence?

Hello!
THIS code outputs a table, but the content of the cell sis not empty, there are numbers and still in that way one after another.
My question is simple: why does this code not give empty cells or numbers with no system (random)?

Many thanks, I hope U understood what I had in mind! I actually dont see anything clearly that woudl give such a sequence! MANY THANKS!!!

    <?php
        echo "<table border='1'><br />";

       for ($row = 0; $row < 5; $row ++) {
        echo "<tr>";

       for ($col = 1; $col <= 4; $col ++) {
         echo "<td>", ($col + ($row * 4)), "</td>";
        }

        echo "</tr>";
         }

        echo "</table>";

?>

That code is inserting the numbers. If you want different content then replace that with what you do want.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.