I have some code that increments a number using $number++.
My only problem is that I need the number to increment in full.
What I mean by this is :-
My number is ‘000001’ obviously when I auto increment this using ++ it drops the existing zeros.
Can I overcome this? Or do I have to run a regular
expression on it after incrementing it adding the zeros back in?
Any help on this would be more then appreciated.
Regards,
Gareth
In reply to Help with Numbers..Please by spacey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |