Results 1 to 5 of 5

Thread: add a search to my website

  1. #1
    Join Date
    Apr 2007
    Posts
    149
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default add a search to my website

    How can i add the search to my website? i like the one on this forum. can anyone help me? Thanks

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    There are several free ones on the net. The way could accomplish it is by using a database and have a php script access it.
    Here is a pretty decent (free) one that uses flat file database to index the pages.
    http://www.cj-design.com/products/fr...jwebsitesearch

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Apr 2007
    Posts
    149
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks. That helped.

  4. #4
    Join Date
    Mar 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The easiest way to add a search engine to your site is to use this code. Just plop it in your website.

    This will search the whole internet (in another window)

    <form action="http://www.google.com/cse" id="cse-search-box">
    <div>
    <input type="hidden" name="cx" value="partner-pub-0931223074117014:1533203349" />
    <input type="hidden" name="ie" value="UTF-8" />
    <input type="text" name="q" size="55" />
    <input type="submit" name="sa" value="Search" />
    </div>
    </form>



    If you need code to search your whole website, or you want it to open up in the same window, I would need more information to build the code. Its pretty easy. Just email me at: shockwave13@gmail.com and I will help you build the code.

    Cheers

  5. #5
    Join Date
    Sep 2010
    Location
    Hi Stalker.
    Posts
    148
    Thanks
    16
    Thanked 3 Times in 3 Posts

    Default

    You know the last post in this topic was in 2007?
    Cool code though.
    Daba! The Fantage-like website
    Virtual World in progress.
    Out of pure HTML, Javascript, and CSS. Oh, and poorly done Paint images.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •