I havea string that has a lot of zeros in it, and when I use the substr, it drops the zeros right off the string when i use substr.
For instance, I have the following string.
$string = 200208000001
I do the following Command:
substr($string, 6, 6)
It returns, the number 1.
I need it to return 000001.
Anyone have any input on how to get PHP to NOT drop the zeros?