Adding One with a number which has zeros in the begining
<p>I have this variable <code>$value1= 000001;</code> which as you can see contains some numbers which begins with 0.</p>

<p>What I am trying to is add "1" with the variable so that when I echo it looks like this <code>000002</code>. Again for example if the variable is like this <code>$value1= 012001;</code> I want to make it look like <code>012002</code>.</p>

<p>I have tried like following but the result it produces is only "2" </p>

<pre><code>$value1= 000001;  
echo $value+1;
</code></pre>

<p>Could you please show me how to achieve this?</p>

<p>thanks :)</p>
