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 = 7 AND t.topic_id = 2199 AND t.forum_id = f.forum_id