Optimize code a bit.
This commit is contained in:
parent
629c828a6b
commit
4dccda3690
@ -9,6 +9,6 @@
|
||||
$imgs[0] = "imgs/img0.jpg";
|
||||
$imgs[1] = "imgs/img1.jpg";
|
||||
?>
|
||||
<img src="<?= $imgs[rand(0, 1)] ?>" />
|
||||
<img src="<?= $imgs[mt_rand(0, count($imgs) - 1)] ?>" />
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user