I have a string like: 00030000
and need to increment this with loop.
$start = "00030000";
for ($i = 1; $i < 10; $i++) {
echo $i + $start;
}
It prints this
30001
30002
30003
30004
//...
This is understood but how can I get following result?
00030001
00030002
00030003
00030004
//...