connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$quersy = $conn->query("SELECT * FROM comments WHERE postid = '".htmlspecialchars($_GET['postid'])."' ORDER BY id DESC");
// $conn->query($query)
// $conn->query("SELECT * FROM users");
while($rows = mysqli_fetch_assoc($quersy)) {
print "".htmlspecialchars($rows['commenter'])."
".htmlspecialchars($rows['comment'])."";
}
?>