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