RSS Forums RSS

EAN 13

Reply
Posts: 8
Reputation: roh3x2n is an unknown quantity at this point 
Solved Threads: 1
roh3x2n roh3x2n is offline Offline
Newbie Poster

EAN 13

  #1  
Aug 2nd, 2008
I started PHP last month.So I am new.

Is it possible to find the EAN 13 with PHP ?

Here is how to calculate the EAN-13



1. From the right to left, start with odd position, assign the odd/even position to each digit.
2. Sum all digits in odd position and multiply the result by 3.
3. Sum all digits in even position.
4. Sum the results of step 3 and step 4.
5. divide the result of step 4 by 10. The check digit is the number which adds the remainder to 10.

Thanks in advance.
AddThis Social Bookmark Button
Reply With Quote  
Posts: 378
Reputation: langsor is an unknown quantity at this point 
Solved Threads: 33
langsor langsor is offline Offline
Posting Whiz

Re: EAN 13

  #2  
Aug 4th, 2008
If there is a formula with PHP like you've described, then you can use PHP to do it.
Maybe this link will help? Is EAN and EAN 13 the same thing?

http://satarah.com/showcase/sites/isbnlookup/

Do you just need help running that formula or is there more you're trying to accomplish here?
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Views: 665 | Replies: 1 | Currently Viewing: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 2:49 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC