Advertisement
Guest User

Untitled

a guest
Feb 13th, 2016
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. $mine = array();
  2.  
  3. for ($i = 0; $i < 6; $i++) {
  4. for ($j = 0; $j < 6; $j++) {
  5. $mine[$i][$j] = rand(0, 100);
  6. }
  7. }
  8.  
  9. for ($row = 0; $row < 6; $row++) {
  10. echo "<ul>";
  11. for ($col = 0; $col < 6; $col++) {
  12. echo $mine[$row][$col];
  13. echo " ";
  14. }
  15. echo "</ul>";
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement