Hello,
i'm trying to perform a search on 'price low range' to 'price high range', everthing appears to work until i use the less than or equal to '<=' or '>=' parameters. if i use just '=' the results are returned correctly.
any thoughts?
here's my code:
$result2 = mysql_query ("SELECT * FROM table
WHERE avail='1' AND pricef2 >= $lowrange
AND pricet2 <= $highrange order by timestamp desc ");
the variable values ($highrange, $lowrange) are sent from the previous page (html form)
in case the problem is w/ the mysql columns - here's are my column name and types etc.,
thanks a lot.
g.
pricef2 int(10) default NULL,
pricet2 int(10) default NULL,
integers w/ a max length of '10' and default values of 'NULL'