Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
dvprog_17 [2019-10-10 09:19]
Daniel Viström
dvprog_17 [2019-10-10 09:25]
Daniel Viström
Line 15: Line 15:
 include 'head.php'; include 'head.php';
  
-// Dela upp ett tal i separata siffor+// Dela upp ett tal i separata siffor.
 $tal = mt_rand(1,9999);              // Slumpar ett tal mellan 1 och 9999. $tal = mt_rand(1,9999);              // Slumpar ett tal mellan 1 och 9999.
 echo 'Talet är: ' . $tal . '<br>'; echo 'Talet är: ' . $tal . '<br>';