TannerRitchie Web Applications

Advanced Web Application Development in the GTHA

Tag: isbn10

  • PHP ISBN 10 to ISBN 13 converter

    This is a bit of code I wrote a few years ago. I couldn’t find any tool anywhere that would convert old-school ISBN 10s to the new ISBN 13, and check that the numbers have been entered correctly. The algorithm for ISBNs isn’t that complicated, so I came up with the following, which is available…