MySQL Insert into multiple tables? (Database normalization?)

前端 未结 8 2366
庸人自扰
庸人自扰 2020-11-22 01:56

I tried searching a way to insert information in multiple tables in the same query, but found out it\'s impossible? So I want to insert it by simpl

8条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-22 02:36

    have a look at mysql_insert_id()

    here the documentation: http://in.php.net/manual/en/function.mysql-insert-id.php

提交回复
热议问题