I am creating code for a forum. I have a table of topic titles with columns TopicID, TopicTitle and Author. The TopicID is auto-increment. For the author to start a topic, they have to submit a post and topic title. I have another table of posts with TopicID, Post and Author. How can I create a statement that inserts a new topic title into topic titles table and inserts the post into post with the same TopicID as the one created by the auto-increment?
Jon
"Asteroids do not concern me, Admiral. I want that ship, not excuses.
Jon
"Asteroids do not concern me, Admiral. I want that ship, not excuses.