Its still not working. I used this select statement:
$sql = "select * from main where salary '$salarycut'";
and $salarycut=between 31 and 50 that is out of a form.
Its spits out this error : Warning: Supplied argument is not a valid MySQL result resource in C:\apache\htdocs\search.php on line 55
This error is this line : LINE 54:$result = mysql_query($sql);
LINE 55: while ($row = mysql_fetch_array($result)) {
So hmm. Anyone got any help on this?
Chad