Results 1 to 3 of 3

Thread: Help creating a search box

  1. #1
    Join Date
    May 2007
    Location
    England, UK
    Posts
    235
    Thanks
    3
    Thanked 6 Times in 6 Posts

    Post Help creating a search box

    What is the best way to create a search box on a website?

    I want the user to be able to type in keywords and have a page display the results and relevant links.

    I'm guessing you need to create a form first, then maybe have a dynamic page that scans your entire web directory once a day? Then have the form call those results?

    I’m new to PHP so a beginners guide would be great
    Any tips or links to articles would be appreciated.

  2. #2
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    2,385
    Thanks
    100
    Thanked 113 Times in 111 Posts

    Default

    are you familiar with MySQL? Does your internet provider have MySQL available to you? Are you familiar with google search?

    My knowledg in this area is rather limited, but I may be able to help a little bit.

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

    Default

    If you just wanted to use a free script, you could search through Hotscripts.com or this site: http://cj-design.com/products/free_d...jwebsitesearch

    for a decent free one (which uses text files instead of MySQL).

    If you just wanted to make your own, then you may want to get the basics by looking here:

    http://www.php-mysql-tutorial.com/

    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

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
  •