mickey Posted October 11, 2006 Share Posted October 11, 2006 i want to make if the user type a word to search then the system will display all list that have the word in it.how can i do it.what is the coding? Link to comment Share on other sites More sharing options...
jesh Posted October 11, 2006 Share Posted October 11, 2006 These two articles helped me understand how to build a search engine for a couple of sites that I built. They are mostly in C# and .NET, but even if you don't happen to know C# or use .NET, they talk about how search engines work and can provide insight for your project.http://www.codeproject.com/aspnet/Searcharoo.asphttp://www.codeproject.com/aspnet/Spideroo.asp Link to comment Share on other sites More sharing options...
lordfa9 Posted November 2, 2006 Share Posted November 2, 2006 For example if you want to search for peppers in your "vegetables' table, your sql will be like thisSELECT * FROM vegetablesWHERE name LIKE "*peppers*"this will return red peppers, green peppers etc etcyou can substitute peppers for a user submitted value Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now