itskp-odense/Frontend/edit.php

25 lines
605 B
PHP
Raw Normal View History

2021-06-02 11:27:13 +00:00
<?php
require "../Backend/controller/accessControl.php";
//require "../Backend/controller/edit.php";//Bootstrap is require via this file
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Home</title>
</head>
<body>
<?php $ad = $_GET['id']; ?>
2021-06-02 11:27:13 +00:00
<form action="../Backend/controller/update.php" method="POST">
<input type="number" name="id" hidden value="<?php echo $ad ?>">
2021-06-02 11:27:13 +00:00
<input type="text" name="upTitle" placeholder="Title">
<input type="text" name="upDescription" placeholder="Description">
<input type="submit" name="update">
</form>
2021-06-02 11:27:13 +00:00
</body>
</html>