Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $start = 1;
- $end = 9;
- $times = 3;
- $linesize = 5;
- $string = '';
- for($i = $start; $i <= $end; $i++)
- $string .= str_repeat($i, $times);
- $string = chunk_split($string, $linesize, '<br />');
- echo $string;
- ?>
Add Comment
Please, Sign In to add comment