开发者

Filtering search results

开发者 https://www.devze.com 2023-04-11 14:34 出处:网络
I have a search box with the following inputs Keywords [seperated by comma] Location [Seperated by comma]

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)

0

精彩评论

暂无评论...
验证码 换一张
取 消