note 14621 deleted from function.mysql-insert-id by sander

From: Date: Sat, 18 May 2002 07:16:55 +0000
Subject: note 14621 deleted from function.mysql-insert-id by sander
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-30793@lists.php.net to get a copy of this message
It would seem that if your auto_increment field is also set to zerofill, mysql_insert_id() doesn't give you the whole number (i.e. '00015'). It gives you simply '15'.

« previous php.notes (#30793) next »