Hi,
Thanks for your sugestions. I ended up using the Luhn algorithm. Simple
but I think it will work for me.
http://en.wikipedia.org/wiki/Luhn_algorithm
Emil
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'.
Hope this helps.
George
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php