阅读背景:

可以选择“PDO::lastInsertId”/“mysql_insert_id”

来源:互联网 

I always hear that using "lastInsertId" (or mysql_insert_id() if you're not using PDO) is evil. In case of triggers it obviously is, because it could return something that's totally not the last ID that your INSERT created.I always hear that using "lastInsertId" (or mys




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: