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