RE: 4 Digit ID with Leading Zeros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux