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
ltrim($usernumber, "0");
should do the job, according to the PHP Manual