v0.0.6 Made edit and update now works dynamically

This commit is contained in:
Victor
2021-06-03 12:50:28 +02:00
parent 256f163771
commit 4024c0dd99
9 changed files with 94 additions and 30 deletions
+5 -1
View File
@@ -9,12 +9,16 @@ require "../Backend/controller/accessControl.php";
<title>Home</title>
</head>
<body>
<?php $ad = $_GET['id']; ?>
<form action="../Backend/controller/update.php" method="POST">
<input type="number" name="id" hidden value="1">
<input type="number" name="id" hidden value="<?php echo $ad ?>">
<input type="text" name="upTitle" placeholder="Title">
<input type="text" name="upDescription" placeholder="Description">
<input type="submit" name="update">
</form>
</body>
</html>