Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $width = 10;
- $height = 3;
- for($y = 0; $y < $height; $y++) {
- for($x = 0; $x < $width; $x++) {
- echo(($y + 1) * 10 + $x * 2);
- echo('|');
- }
- echo('
- ');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement