16 lines
251 B
PHP
16 lines
251 B
PHP
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<title>Imagen Aleatoria</title>
|
|
</head>
|
|
<body>
|
|
<?php
|
|
$imgs[0] = "imgs/img0.jpg";
|
|
$imgs[1] = "imgs/img1.jpg";
|
|
$select = rand(0, 1);
|
|
?>
|
|
<img src="<?= $imgs[$select] ?>" />
|
|
</body>
|
|
</html>
|