in reply to Re: Help with Numbers..Please
in thread Help with Numbers..Please

Close, but no cigar. This will increment the number after the returned value is used. Either of the next will do, as the modified value isn't being retained:
$number = sprintf("%06d", ++$number); $number = sprintf("%06d", $number+1);