将新创建的id值作为外键插入另一个表的列中
Hello everyone PHP and mysql noob here
I'm creating a form to
create a new user
and at the same time add a contact
but user and contact are in two different table
and i need the newly user_ID to reference the user_ID(FK) in the tbl_contact
how would i do it?
dongqing904999
2016/03/07 01:37- php
- mysql
- 点赞
- 收藏
- 回答
满意答案
1个回复
