943,534 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 1880
  • PHP RSS
Aug 2nd, 2008
0

EAN 13

Expand Post »
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

Quote ...

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.
Similar Threads
Reputation Points: 10
Solved Threads: 1
Newbie Poster
roh3x2n is offline Offline
8 posts
since Oct 2006
Aug 4th, 2008
0

Re: EAN 13

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?
Reputation Points: 30
Solved Threads: 36
Posting Whiz
langsor is offline Offline
389 posts
since Aug 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Login page by using Sessions
Next Thread in PHP Forum Timeline: portal design help!!!!





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC