Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/lab/exp1/Quizzes.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,17 @@ <h1 class="text-h2-lightblue">Number Systems</h1><div class="content" id="experi


</div> <!-- content div -->

<form action="action.php" method="post" action="post">
<fieldset>
<legend>COMMENT HERE:</legend>
YOUR ANSWER:<br>
<textarea name="message" rows="10" cols="30"></textarea>
<br>
<input type="submit" value="Submit">
</fieldset>
</form>


<footer>
<div class="container-fluid footer-div" style="background: #404040; margin-top: 40px; padding: 20px;">
Expand Down
17 changes: 17 additions & 0 deletions src/lab/exp1/action.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php
$answer = $_POST['answer'];
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<?php echo $answer ?>

</body>
</html>