smerny Posted July 7, 2009 Share Posted July 7, 2009 hard to explain fully in title... anyway, i want to create 1 row each in 2 tables at the same time (2 queries one after another i guess)... and i want to use the primary key of the row in the first table in row in the second table... i could do a count rows, but it may be messy in the future if rows are deleted...whats the best way to do this? Quote Link to comment https://forums.phpfreaks.com/topic/165119-solved-creating-rows-in-2-seperate-tables-taking-the-primary-key-of-the-row-in-one/ Share on other sites More sharing options...
smerny Posted July 8, 2009 Author Share Posted July 8, 2009 solved here http://www.phpfreaks.com/forums/index.php/topic,259640.0.html Quote Link to comment https://forums.phpfreaks.com/topic/165119-solved-creating-rows-in-2-seperate-tables-taking-the-primary-key-of-the-row-in-one/#findComment-870808 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.