forked from heyhellomila/SOEN341
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpostQuestion.php
More file actions
28 lines (24 loc) · 871 Bytes
/
Copy pathpostQuestion.php
File metadata and controls
28 lines (24 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
require_once("action/postQuestionAction.php");
$action = new postQuestionAction();
$action->execute();
require_once("partial/header.php")
?>
<div class="container text-justified mt-3 p">
<form method="post" action="postQuestion.php">
<div class="align-self-center form-group" >
<label for="questiontopic" class="font-weight-bold">Question Title</label>
<input type="text" class="form-control" id="questiontopic" name="questiontopic" placeholder="Question title goes here">
</div>
<div class="form-group">
<label for="content" class="font-weight-bold">Text (optional)</label>
<textarea class="form-control" id="content" name="content" rows="3"></textarea>
</div>
<button class="btn btn-lg btn-primary" type="submit">
Submit Question
</button>
</form>
</div>
<?php
require_once("partial/footer.php");
?>