Reply LinkBack Thread Tools Search this Thread
Old 25-06-2007, 06:01   #1 (permalink)
tassok
Registered User
 
Join Date: Jun 2007
Posts: 2
Search the contents of my website

Hello,

It would help me alot if anyone could tell me how i can get a search box to search the contents of my website. If you could show me the code needed that would be great.

Thankyou
  Reply With Quote
Old 25-06-2007, 08:39   #2 (permalink)
paulanthony
mingin dawg baitch
 
paulanthony's Avatar
 
Join Date: Apr 2004
Location: Belfast
Posts: 1,035
Send a message via MSN to paulanthony
Pull up Google.

site:www.yoursite.com keyword.

that owta do it.
__________________
  Reply With Quote
Old 25-06-2007, 10:28   #3 (permalink)
pgo
i'm done, son
 
Join Date: Jan 2005
Posts: 12,262
I think he means a search function inside his site. Google has one of those that you can plug into your site.

Otherwise, it's a more complicated issue and beyond the scope of a thread. Assuming your content is stored in a database, you'll do some querying with PHP (or whatever language you want) to look for matching words/patterns from the search input to the information in your database.

If your site is not in a database, I don't see the point as it must be a small site.
  Reply With Quote
Old 25-06-2007, 12:55   #4 (permalink)
Jonas
Registered User
 
Join Date: Jun 2007
Location: Denmark
Posts: 66
If your content is stored in a database, you might want to learn how to search in that.
Google can help you find several beginner guides for PHP and ASP.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8