Hi,
I have this table :
postage_value (dec 5,2)
weight1 (mediumint 5)
weight2 (mediumint 5)
I have 4 records :
5.99 : 0 : 100
6.99 : 101 : 200
7.99 : 201 : 300
8.99 : 301 : 99999
I have a select as follows :
$result = mysql_query("SELECT * FROM postage WHERE (weight1 >= $weight AND weight2 <= $weight ) ",$db);
the value of $weight is 36
I'm wanting it select record 1 (5.99) but it selects nothing?
Am I missing something ?
Thanks