v0.0.2 You can now make post and store it in the database.

This commit is contained in:
Victor
2021-06-02 09:01:51 +02:00
parent dfb9103157
commit d276aed27b
11 changed files with 78 additions and 10 deletions
+9 -2
View File
@@ -6,7 +6,14 @@
<title>Home</title>
</head>
<body>
<p>Logget in</p>
<a href="../Backend/controller/logout.php">Log ud</a>
<p>Logget in som <?php echo $_SESSION['name'];?></p>
<a href="../Backend/controller/logout.php">Log ud</a>
<hr>
<form action="../Backend/controller/upload.php" method="POST">
<input type="text" name="title">
<input type="text" name="description">
<input type="submit" name="createPost" placeholder="Opret">
</form>
</body>
</html>