Hi Everyone
I am developing a jobs site where employers post their jobs and job seekers can run a search from a search form.
The search form has 4 criteria each with dropdown options to pick from. the first option in each criteria is "ALL" which I want to return all values from that database field.
select * from jobs where title="Accountant" and type ="permanent" and location="all"
This should return all the permanent job vacancies for accountants for all locations
This does not work for me as it assumes "ALL" is a value rather than a request to return all values in that field.
I require limited results for some fields and unlimited results from another field.
How do I do this????
I am developing a jobs site where employers post their jobs and job seekers can run a search from a search form.
The search form has 4 criteria each with dropdown options to pick from. the first option in each criteria is "ALL" which I want to return all values from that database field.
select * from jobs where title="Accountant" and type ="permanent" and location="all"
This should return all the permanent job vacancies for accountants for all locations
This does not work for me as it assumes "ALL" is a value rather than a request to return all values in that field.
I require limited results for some fields and unlimited results from another field.
How do I do this????