Users will be filling a field in with numbers relating to their account. Unfortunately, some users will have zeroes prefixed to the beginning of the number to make up a six dig
You can use ltrim() and pass the characters that should be removed as second parameter:
$input = ltrim($input, '0'); // 000123 -> 123
ltrim only removes the specified characters (default white space) from the beginning (left side) of the string.
ltrim