Re: [PHP] Measurement Problem

2004-03-27 Thread Galen
How about a MySQL table, like you're saying, with the lengths? Two columns: English and Metric. Then just do a select metric where english = 6 1/8 (my pseudo-SQL) with MySQL and get the length. I suspect there are only a limited number of standard lengths and this would work nicely. You could a

Re: [PHP] Measurement Problem

2004-03-27 Thread Jim Kaufman
On Sat, Mar 27, 2004 at 07:55:31PM -0700, Karl Timmermann wrote: > Hi, > > I am working on a PHP/MySQL solution to have a webpage where users can > rate cigars. I ran into a problem though. One variable that exists is > the length of the cigar. In the cigar world, the lengths are usually > writ

[PHP] Measurement Problem

2004-03-27 Thread Karl Timmermann
Hi, I am working on a PHP/MySQL solution to have a webpage where users can rate cigars. I ran into a problem though. One variable that exists is the length of the cigar. In the cigar world, the lengths are usually written like 6 1/8" or 155 mm or 4 15/16" or 125 mm. I don't want to make the le