mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 10:56:26 +00:00
15 lines
248 B
PHP
15 lines
248 B
PHP
<?
|
|
enforce_login();
|
|
|
|
if (!$_GET['postid'] || !is_number($_GET['postid'])) {
|
|
error(0);
|
|
}
|
|
|
|
$PostID = (int)$_GET['postid'];
|
|
$DB->query("
|
|
SELECT Body
|
|
FROM comments
|
|
WHERE ID = $PostID");
|
|
list($Body) = $DB->next_record(MYSQLI_NUM);
|
|
|
|
echo trim($Body); |