Filtering search results
I have a search box with the following inputs
Keywords [seperated by comma]
Location [Seperated by comma]
开发者_C百科Salary min and max
experience
category of job
freshness of job post
Note:i have made it not mandatory to fill any of these boxes.
How do i generate search results based on a search form like this? what should be the mysql query that satisfies all the conditions? Any help wud be appreciated.
Look up writing your own search engine. I have written many, and you'll need:
strtolower(); substr(); explode(); (for keywords)
精彩评论