Commit df92f0ca authored by Tengku Kaisar's avatar Tengku Kaisar
Browse files

Upload New File

parent ff625e49
No related merge requests found
Pipeline #3406 failed with stages
in 1 minute and 1 second
Showing with 43 additions and 0 deletions
+43 -0
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Create Post</title>
<link rel="stylesheet" href="style.css"> <!-- Link ke file CSS eksternal -->
</head>
<body>
<div class="container">
<h1>Create a Post</h1>
<form method="POST" action="post_process.php">
<label for="username">Username:</label>
<input type="text" id="username" name="username" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<label for="title">Title:</label>
<input type="text" id="title" name="title" required>
<label for="author">Author:</label>
<input type="text" id="author" name="author" required>
<label for="content">Content:</label>
<textarea id="content" name="content" rows="5" required></textarea>
<input type="submit" value="Submit Post">
</form>
</div>
<div class="container" id="posts">
<h2>Posted Articles:</h2>
<!-- Di sinilah postingan yang dibuat akan ditampilkan -->
<?php include 'display_posts.php'; ?>
</div>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment