[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: arabic numbering in php? -- A possibly faster/better solution



Edward H. Trager wrote:
Hi, Ahmed, Salam wa alaikum,

While the PHP solution you devised for Arabic numerals using HTML character entity references
works just fine, I thought I would present an alternative solution which is simpler
and, because it uses the built-in PHP "strtr()" function, may be faster:

http://eyegene.ophthy.med.umich.edu/arabic/index.php
ah neat! i didn't think of this, thanks! it looks a lot simpler than the way i had it done.
i appreciate it,
wsalams,
-ahmed