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
$number = "004561"; $number = intval($number, 10); $number = (string)$number; // if you want it to again be a string