且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将数据插入多个表 PHP MySQL

更新时间:2022-04-02 08:40:15

每次插入操作后都要获取插入的id值.

You have to get the inserted id value after each insert operation.

获取最后插入id的函数是:mysql_insert_id()

The function to get the last insert id is: mysql_insert_id()