$number = '0' x (5 - length($number)) . $number; [download]
In reply to Re: Re: Zero Padding by Martin A in thread Zero Padding by Anonymous Monk