SELECT
posts.id,
posts.post_title,
posts.post_time
FROM
posts,
authors
WHERE
posts.isanon = 0 AND
posts.authorid = authors.id AND
authors.name = :author
ORDER BY
posts.post_time DESC
LIMIT 10;