note 127913 added to pdo.lastinsertid

From: Date: Thu, 10 Nov 2022 16:23:57 +0000
Subject: note 127913 added to pdo.lastinsertid
Groups: php.notes 
Request: Send a blank email to php-notes+get-219869@lists.php.net to get a copy of this message
Regarding my note from 16 years ago with regards to lastInsertId not returning the proper ID when ON DUPLICATE KEY - yes, it was based on the version of PHP I was using at the time (so no worries contradicting that statement). The issue has since been fixed in newer versions of the language. ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.159.161 (proxied: 3.228.136.234) ---- Manual Page -- https://php.net/manual/en/pdo.lastinsertid.php Edit -- https://main.php.net/note/edit/127913 Del: integrated -- https://main.php.net/note/delete/127913/integrated Del: useless -- https://main.php.net/note/delete/127913/useless Del: bad code -- https://main.php.net/note/delete/127913/bad+code Del: spam -- https://main.php.net/note/delete/127913/spam Del: non-english -- https://main.php.net/note/delete/127913/non-english Del: in docs -- https://main.php.net/note/delete/127913/in+docs Del: other reasons-- https://main.php.net/note/delete/127913 Reject -- https://main.php.net/note/reject/127913 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#219869) next »