fooDigi Posted September 8, 2006 Share Posted September 8, 2006 how can i add zeroes infront of a number. well... here are some examples of what i want to accomplish...6 becomes 0000006534 becomes 000053465487 becomes 0065487so zeroes will be added to make the number always 7 characters long.thx Quote Link to comment Share on other sites More sharing options...
Jenk Posted September 8, 2006 Share Posted September 8, 2006 str_pad() Quote Link to comment Share on other sites More sharing options...
fooDigi Posted September 8, 2006 Author Share Posted September 8, 2006 thxproblem solved Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.