-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupdateproject.php
More file actions
57 lines (41 loc) · 1.11 KB
/
updateproject.php
File metadata and controls
57 lines (41 loc) · 1.11 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
include 'header.php';
include 'includes/projectsupdate.inc.php';
?>
<body>
<h1><strong>UPDATE PROJECTS.</strong></h1><br>
<div class="container">
<?php if (isset($_GET['error'])){ ?>
<div class="alert alert-danger" role="alert">
<?php echo $_GET['error']; ?>
</div>
<?php } ?>
<form action="includes/projectsupdate.inc.php"
method="post">
<div class="col-sm-4">
</div>
<div class="task col-sm-4">
<input type="text"
name = "projectTitle"
class="form-control"
value="<?=$row['project_title'] ?>" > <br>
<textarea type = "text"
name = "projectDesc"
class="form-control"
value = "<?=$row['project_desc' ] ?>"></textarea><br>
<input type="text"
name="id"
value="<?=$row['id']?>"
hidden>
<button type="submit"
name="updateProject"
class="btn btn-primary">Update</button><br><br>
<p align="center">
<a href="readproject.php"
class="link-primary">View</a></p>
</div>
<div class="col-sm-4 form-check">
</div>
</form>
</div>
</body>