Emil Edeholt wrote: > George Pitcher wrote: >> Emil, >> >> have you looked at the 10-digit ISBN verification, which has just >> been replaced by the 13-digit EAN system? >> >> It may be of use, but it needs the field to be varchar as the >> checkdigit may be a 'X'. AFAIK, the 10-digit ISBN numbers use the "modulus 11" algorithm, which is also used in several other places (Danish social security numbers for instance), and I'm sure you can adjust the weighting such that the checkdigit is always numeric. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php