0

Hi everyone,
First time i am going to work on the search.please help me how i make search in my site,the website is about the products,i want the user search for the products by city name,
Requirements
The simple search give result of the products in the selected city,the user is authories to select a city from the given list,if he select a city from the dropdown,
then how can i bring the search result from the whole city products,
sorry in advance if any confusion i will give more details

4
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by rayidi
1

"products" what products, needs a little more thought, otherwise its a google search
loc city: EVERYTHING

0

General Search : mysql_query("SELECT * FROM `products` WHERE `city` = '$city'");
Just Like That Search : mysql_query("SELECT * FROM `products` WHERE `city` LIKE '$city'");

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.