i want to display number using echo, i wrote the following code
i don't understand the result.
this happen only if i add zero to the first place in the number i mean if i write 1020 there is no problem the number will be appeared as it.
please i need an explanation for that.
thanks in advance
shreen
Code:
<?php $a= 01020; echo $a; ?>
Code:
the result :582
this happen only if i add zero to the first place in the number i mean if i write 1020 there is no problem the number will be appeared as it.
please i need an explanation for that.
thanks in advance
shreen
Comment