Answers for "get last inserted id in php pdo"

PHP
1

php pdo last insert id

$stmt = $db->prepare("...");
$stmt->execute();
$id = $db->lastInsertId();
Posted by: Guest on September-16-2020

Code answers related to "get last inserted id in php pdo"

Browse Popular Code Answers by Language