Skip to content
This repository was archived by the owner on Mar 30, 2024. It is now read-only.

Commit

Permalink
navigasi ke comment section
Browse files Browse the repository at this point in the history
  • Loading branch information
ftiannisa committed Jun 17, 2023
1 parent 7af7fa1 commit 79f7457
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion artikel/detail.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
</div>

<!-- comment section -->
<div class="container w-75">
<div class="container w-75" id="comment_section">
<div class="row">
<!-- post komentar -->
<div class="d-flex pt-2 col justify-content-start">
Expand Down
2 changes: 1 addition & 1 deletion komentar/insert.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
$stmt->bind_param("isss", $id_artikel, $nama_user, $email_user, $isi_komentar);
$stmt->execute();
echo "<script>alert('Komentar berhasil dikirim.')</script>";
header("Location: ../artikel/detail.php?id_artikel=" . $id_artikel);
header("Location: ../artikel/detail.php?id_artikel=" . $id_artikel . "#comment_section");
}

0 comments on commit 79f7457

Please sign in to comment.