Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php show number 4 digit

echo str_pad( "1", 4, "0", STR_PAD_LEFT );
echo str_pad( "12", 4, "0", STR_PAD_LEFT );
 
PREVIOUS NEXT
Tagged: #php #show #number #digit
ADD COMMENT
Topic
Name
9+6 =