note 38795 added to function.mysql-insert-id

From: Date: Wed, 07 Jan 2004 10:44:10 +0000
Subject: note 38795 added to function.mysql-insert-id
Groups: php.notes 
Request: Send a blank email to php-notes+get-63059@lists.php.net to get a copy of this message
There is a typo in sly at noiretblanc dot org´s posting: auto_increment -> Auto_increment To get the NEXT insert id use the mysql query SHOW TABLE STATUS LIKE 'tablename' and get the field Auto_increment ---- Manual Page -- http://www.php.net/manual/en/function.mysql-insert-id.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38795 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38795&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38795&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#63059) next »