I have this variable $value1= 000001;
which as you can see contains some numbers which begins with 0.
What I am trying to is add "1" with the variable so that when I echo it looks like this 000002
. Again for example if the variable is like this $value1= 012001;
I want to make it look like 012002
.
I have tried like following but the result it produces is only "2"
$value1= 000001;
echo $value+1;
Could you please show me how to achieve this?
thanks :)