SELECT
comments.*,
comments.id,
comments.text_comm,
comments.post_id,
comments.user_id,
post.id,
users.id,
users.username
FROM comments
INNER JOIN post
ON comments.post_id = post.id
INNER JOIN users
ON comments.user_id = users.id
WHERE comments.post_id = :post_id
ORDER BY comments.id DESC"
<code lang="php">
<pre style="white-space: pre-line;">
<?echo $row['body'];?>
</pre>
<pre style="white-space: pre-line;">
<?php echo $row['comment']?>
</pre>
</code>