Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ciclo for

Ciclo for e cicli for annidiati.
Creazione tabellina del 10.
  • Loading branch information...
commit 717ff07cc4cc98793c2c2dbaf4a1ed9cbab4dde7 1 parent f06a1e1
@lucasaba authored
Showing with 19 additions and 0 deletions.
  1. +19 −0 ciclo_for.php
View
19 ciclo_for.php
@@ -0,0 +1,19 @@
+<html>
+ <head>
+ <title>Ciclo for</title>
+ <link rel="stylesheet" type="text/css">
+ </head>
+ <body>
+ <table border="1">
+ <?php for($i=1; $i <= 10; $i++) { ?>
+ <tr>
+ <?php for($j=1; $j <= 10; $j++) { ?>
+ <td><?php echo $i*$j ?></td>
+ <?php } ?>
+ </tr>
+ <?php } ?>
+ </table>
+ </body>
+</html>
+
+
Please sign in to comment.
Something went wrong with that request. Please try again.