Answers for "db get pdo last id"

PHP
1

php pdo last insert id

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

Browse Popular Code Answers by Language