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