This commit is contained in:
2025-03-31 12:45:58 -06:00
parent b6f707c929
commit 282ad2d8cb
327 changed files with 340 additions and 192 deletions
View File
View File
View File
View File
+39
View File
@@ -0,0 +1,39 @@
<!doctype html>
<html lang="en">
<head>
<title>Dummy Title</title>
<link href="css/styles.css" type="text/css" rel="stylesheet">
<script src="js/index.js"></script>
</head>
<body>
<h1>Hello cruel world!</h1>
<?php
if (isset($_POST['band']))
echo $_POST['band'];
else
echo form();
?>
</body>
</html>
<?php
function form()
{
$form = '
<form method="post">
<label for="metallica">Metallica</label>
<input type="radio" value="metallica" id="metallica" name="band">
<label for="megadeth">Megadeth</label>
<input type="radio" value="megadeth" id="megadeth" name="band">
<label for="maiden">Maiden</label>
<input type="radio" value="maiden" id="maiden" name="band">
<input type="submit">
</form>
';
return $form;
}
?>
View File
View File