note 127914 added to pdo.lastinsertid

From: Date: Thu, 10 Nov 2022 16:23:57 +0000
Subject: note 127914 added to pdo.lastinsertid
Groups: php.notes 
Request: Send a blank email to php-notes+get-219868@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/127914 Del: integrated -- https://main.php.net/note/delete/127914/integrated Del: useless -- https://main.php.net/note/delete/127914/useless Del: bad code -- https://main.php.net/note/delete/127914/bad+code Del: spam -- https://main.php.net/note/delete/127914/spam Del: non-english -- https://main.php.net/note/delete/127914/non-english Del: in docs -- https://main.php.net/note/delete/127914/in+docs Del: other reasons-- https://main.php.net/note/delete/127914 Reject -- https://main.php.net/note/reject/127914 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#219868) next »