mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-10-06 07:13:05 -04:00
12 lines
154 B
PHP
12 lines
154 B
PHP
<?php
|
|
|
|
$postId = (int)$_GET['postid'];
|
|
if (!$postId) {
|
|
error(404);
|
|
}
|
|
|
|
echo $DB->scalar("
|
|
SELECT Body FROM comments WHERE ID = ?
|
|
", $postId
|
|
);
|