Forms, $_POST and showing data between to numeric values
Hi.
Really stuck with my SQL query.... pretty new to SQL so struggaling with this... heres my scenario..
I have a Form on a .php page that has drop down menus for a user to select options based on location, type of job and min. salary and max. salary. This then submits using the POST method the results of the options (using $_REQUEST) to a results.php page.
The text field queries work great.... with this query:-
SELECT jobs.clocation, jobs.Ref_id, jobs.RefCode, jobs.jobtitle, jobs.blurb, jobs.Consultant, jobs.Salary, jobs.tlocation, jobs.Sector, jobs.Type
FROM jobs
WHERE jobs.clocation = '$_REQUEST[clocation]' AND jobs.Sector = '$_REQUEST[Sector]' AND jobs.Type = '$_REQUEST[Type]'
....
Where I'm having problems is getting it to work with the values... I'd like them to be able to choose a Min Salary.. (the drop down menu includes options of 10000 , 20000, etc) and a Max Salary (again 10000 , 20000 etc) and then the results show any data between those values.
Cant figure out where I am going wrong.. please help
Thank you
