zerofill
Posted: Thu May 15, 2003 6:11 pm
i want this
$num = 615;
to change to this
$num = 0615;
the numbers come from an array so i dont know how long they are, i just know they are no more than 4 digits.
is there any way to zerofill 1-3 digit numbers?
$num = 615;
to change to this
$num = 0615;
the numbers come from an array so i dont know how long they are, i just know they are no more than 4 digits.
is there any way to zerofill 1-3 digit numbers?