The forum/topic you selected does not exist (check).SELECT f.forum_type, f.forum_name, f.forum_access, t.topic_title, t.suivre FROM forums f, topics t WHERE f.forum_id = 51 AND t.topic_id = 5963 AND t.forum_id = f.forum_id