How to get LAST_INSERT_ID after request?

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
btrade
User
Posts: 357

How to get LAST_INSERT_ID after request?

Post by btrade »

Hello,
could you tell me please?
How to get LAST_INSERT_ID after request?


mobhar
User
Posts: 11660

Post by mobhar »

You may search in this forum by using lastInsertId keyword.


btrade
User
Posts: 357

Post by btrade »

Yes, it is working.

Execute("INSERT...");

$id = Conn()->lastInsertId(); //$conn->lastInsertId();


Post Reply