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? 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 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
Archived
This topic is now archived and is closed to further replies.