-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddnewbook.php
36 lines (28 loc) · 1.1 KB
/
addnewbook.php
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
<!DOCTYPE html>
<html>
<head>
<title>Login Page</title>
<link rel="stylesheet" href="index.css">
</head>
<form action="insert.php" method="post" enctype="multipart/form-data">
<label for="book_id">Book ID:</label>
<input type="text" id="book_id" name="book_id"><br>
<label for="poster_image">Poster Image:</label>
<input type="file" id="poster_image" name="poster_image"><br>
<label for="title">Title:</label>
<input type="text" id="title" name="title" required><br>
<label for="genre">Genre:</label>
<input type="text" id="genre" name="genre"><br>
<label for="publication_date">Publication Date:</label>
<input type="date" id="publication_date" name="publication_date"><br>
<label for="author">Author:</label>
<input type="text" id="author" name="author" required><br>
<label for="ratings">Ratings:</label>
<input type="number" id="ratings" name="ratings" step="0.1" min="0" max="5"><br>
<label for="category">Category:</label>
<input type="text" id="category" name="category"><br>
<input type="submit" value="Submit">
<a href="Logout.php">Logout</a>
</form>
</body>
</html>