Click here to Skip to main content
16,016,925 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can anyone help me to search in a web site? If I enter any word in the search it should give me a result of that word in my website.
Posted
Updated 14-Dec-10 19:55pm
v2

1 solution

If you are talking about content of the website coming from your database, then you may need to put on the full text searching in your database. This will lead you to search everywhere and all text in the database for the defined word.

Then, write a stored procedure which will search all the required fields for that particular word in each table of that database(preferably make a view of all the tables to be searched).

Anurag :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900