Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style>
- div{border:1px solid black;
- height:3px;
- }
- </style>
- <?php
- echo 'Liczby:<br>';
- for($i=0;$i<20;$i++){
- $r=rand(0,30);
- $t[$i]=$r;
- echo $r.' ';
- }
- for($i=0;$i<20;$i++)
- echo "<div style='width:".$t[$i]."px'></div>";
- ?>
- <div></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement