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