Re: [PHP] Insert leading zeros

2003-07-15 Thread Curt Zirzow
Matt Palermo [EMAIL PROTECTED] wrote: I have a string of digits that looks like something like these: 0025, 1234, 0001, 1003, and so on. They are all 4 digits in length. Then when I increment one of them by 1, I want to still have 4 digits for the value (it should insert the leading zeros

RE: [PHP] Insert leading zeros

2003-07-15 Thread Matt Palermo
Thanks a lot. It works like a charm! -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 8:45 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Insert leading zeros Matt Palermo [EMAIL PROTECTED] wrote: I have a string of digits that looks like