title: How do i validate a barcode number using php
body: <p>I have a database full of user user entered Barcode numbers of variious lengths.</p>
  
  <p>How can I validate these barcode values to determine if the are correct format, ie, length and check digit? using php</p>