v0.0.2 You can now make post and store it in the database.
This commit is contained in:
+9
-2
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user