adding 0 to numbers


Posted on 16th Feb 2014 07:03 pm by admin

Hey guys i need to create a 00001 number in a loop. Is there a better way of forcing a 5 digit number then counting them and adding the missing zeros?

No comments posted yet

Your Answer:

Login to answer
252 Like 24 Dislike
Previous forums Next forums
Other forums

replacements
I have a variable in my PHP script like

ASSFDDDDDDDDDDDDDASDDDDDDDDARYTRHKKHHHHHHHHHHH and p

Adding to an Int row in db
Hi, i have a database which houses all of the users of my site. One of the columns is for points whi

noob question
i traying to do a php form with auto replay for both(me and the user who send me a mail),

a u

SWF image using php?
Hello once again.

My latest en devour requires me to produce an image of a static .swf that i

Give me all your tricks for minimizing jar file size

Hi, I'm coming close to releasing my J2ME game... I am kicking up against the 64k size barrier w

mysql VARCHAR acting like INT
Hi, All.

I have a table that contains a varchar(10) column named weird_field. In this column

displaying email without attracting a ton of spam
Hello,

this is maybe the wrong place to ask.
How would you display an email address on a w

Sharing PHP Sessions Across Domains
I am in the process of writing a script to share a php session across various domains I have.
The

Session is not saving
I am not trying to do anything too fancy, I am just trying to get some $_SESSION data to save and us

error checking breaking my code
Hi there, OK first of all, big apologies for what I assume is really fundamental errors in the struc

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash