MySQL search help.

Posted by Emrul Hasan on Stack Overflow See other posts from Stack Overflow or by Emrul Hasan
Published on 2011-02-12T06:20:20Z Indexed on 2011/02/12 7:25 UTC
Read the original article Hit count: 150

Filed under:
|
|

Hi, I am using php/mysql for a search. My table is 'height' and data type = varchar(10) which contains value like (5ft 2in, 5ft 3in,...and so on). While searching I got 2 values - height1 and height2 which are basically the ranges. How can i search in that table with the ranges? say - i will give ranges 5ft 1in to 5ft 10in and want to get the data between those values. I am using php. Please help me about this. thanks.

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql