note 15725 added to function.mysql-insert-id

From: Date: Thu, 27 Sep 2001 23:52:08 +0000
Subject: note 15725 added to function.mysql-insert-id
Groups: php.notes 
Request: Send a blank email to php-notes+get-18397@lists.php.net to get a copy of this message
mysql_insert_id seems to work with replace as well, but fails with update - for obvious reasons: replace does delete, then insert if a unique key already existed whereas update can affect multiple rows. -- http://www.php.net/manual/en/function.mysql-insert-id.php http://master.php.net/manage/user-notes.php?action=edit+15725 http://master.php.net/manage/user-notes.php?action=delete+15725 http://master.php.net/manage/user-notes.php?action=reject+15725

« previous php.notes (#18397) next »