Inserting Record into multiple tables No Common ID

Posted by the_ on Stack Overflow See other posts from Stack Overflow or by the_
Published on 2011-01-16T02:42:29Z Indexed on 2011/01/16 2:53 UTC
Read the original article Hit count: 157

Filed under:
|
|

OK so I have two tables, MEDIA and BUSINESS. I want it set up so the forms to input into them are on the same page. MEDIA has a row that is biz_id that is the id of BUSINESS. So MEDIA is really a part of BUSINESS. HOW do I insert/add these into their tables without a common ID because I haven't yet made the record for business?

I'm sorry I didn't really word this very much... You might need more clarification to answer properly and I'll be glad to give any more info. Any help would be greatly appreciated, thanks!

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql