LAST_INSERT_ID( ) returning multiple rows of 0?

后端 未结 5 713
独厮守ぢ
独厮守ぢ 2020-12-17 06:17

Working in phpMyAdmin for now:

order table strucure:

OrderID     int(11)  auto_increment
CustomerID  varchar(50)
BillAddr    varchar(200         


        
5条回答
  •  攒了一身酷
    2020-12-17 06:50

    I had the same issue, solution was do the the query at the same time. In other words first query and the second(last_insert_id) query should be executed at the same time. Not as two different execution.

提交回复
热议问题