Hello,
i have similar to the following: $a = "10"; $b = $a - 1;
this returns 9 i need it to return 09
Any ideas?
Chris
$b=sprintf('%02d',$a); should do the trick HTH Bubble