Re: 4 Digit ID with Leading Zeros

From: Date: Thu, 15 Dec 2005 15:17:14 +0000
Subject: Re: 4 Digit ID with Leading Zeros
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-227471@lists.php.net to get a copy of this message
Rahul, Rahul S. Johari wrote: > The 4 Digit ID (beginning from 0001) will be used in two places: > (a) It will be the ID for the record in the mySQL table, instead of the > usual ID that we create in mySQL. It will be a Primary Key, Not Null, > Auto_Increment Adding ZEROFILL to that definition might be what you're after. Cheers, David -- David Grant http://www.grant.org.uk/

« previous php.general (#227471) next »