I have the following query: INSERT INTO table (a) VALUES (0) ON DUPLICATE KEY UPDATE a=1 I want the ID of …
mysql insert-idHow would I get the last inserted ID using a multirow insert? Here is my code: $sql='INSERT INTO t (…
zend-framework insert-id