Reply to RE: [PHP] 4 Digit ID with Leading Zeros

Your name:

Reply:


Posted by Jim Moseby on 12/15/05 17:24

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация