PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php if (isset($_GET["m"]) && isset($_GET["n"])) { $m = intval($_GET["m"]); $n = intval($_GET["n"]); echo '<table>'; for ($row = 1; $row <= $m; $row++) { print '<tr>'; for ($col = 1; $col <= $n; $col++) { echo "<td>$col</td> \n"; } echo "</tr>"; } echo "</table>"; } ?>
Show:  
Copy Clear