SELECT
	raw_text.post_text, raw_text.markup, posts.isanon, posts.post_title
FROM
	raw_text, posts
WHERE
	raw_text.id = posts.id AND
	raw_text.id = :postid AND
	posts.authorid = :authorid;
