WebServ/www/public/M2/03/index.php
2024-09-06 15:22:36 +02:00

20 lines
448 B
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>M2 | 03</title>
</head>
<body>
<?php
$page["head"] = "<h1>Välkommen</h1>";
$page["main"] = "<p>Detta är innehållet på min sida</p>";
$page["footer"] = "<hr><p>Min sidfoot</p>";
foreach($page as $value) {
echo $value;
}
?>
</body>
</html>