Possibly:

INSERT INTO 'phpbb_posts' (forum_id,topic_title,topic_poster,topic_time) VALUES ((SELECT LAST_INSERT_ID()), other data...);