Welcome Guest, Not a member yet? Register   Sign In
How do I create a simple site search?
#2

[eluser]mddd[/eluser]
Of course it is possible. But the solution depens very much on what kinds of information you are storing in the site. You'll have to create a query (or multiple queries) that look for the specified word in all the relevant tables and fields. And then, you'll probably want to format the results in different formats. For instance, if information is found in a news post, you'll want to show some text from that post and provide a link to it; if information is found in the list of branches for your company, you'll show the branche address in the search results..

So: first think of which tables and fields are relevant; search in them; present the results in a logical manner.


Messages In This Thread
How do I create a simple site search? - by El Forum - 06-09-2010, 07:15 AM
How do I create a simple site search? - by El Forum - 06-09-2010, 09:00 AM
How do I create a simple site search? - by El Forum - 06-09-2010, 09:57 AM
How do I create a simple site search? - by El Forum - 06-10-2010, 10:16 AM
How do I create a simple site search? - by El Forum - 06-10-2010, 10:28 AM
How do I create a simple site search? - by El Forum - 06-24-2010, 07:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB