RE: [PHP] 4 Digit ID with Leading Zeros

From: Date: Thu, 15 Dec 2005 15:24:49 +0000
Subject: RE: [PHP] 4 Digit ID with Leading Zeros
Groups: php.general 
Request: Send a blank email to php-general+get-227473@lists.php.net to get a copy of this message
> > What I would have preferred to have is make both the ID in > mySQL table and > the filename have the leading zeros. But I'm not sure if > that's possible. Then, take the suggestion of another respondent to this topic, and have a look at MySQL's "ZEROFILL" option. I'm not sure if you can use it with an auto-increment field, but that's my best guess. JM

« previous php.general (#227473) next »