Results 1 to 2 of 2

Thread: HTML "Search Criteria" string?

  1. #1
    Join Date
    Mar 2009
    Posts
    74
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default HTML "Search Criteria" string?

    Hi,

    I would like to find out if it's possible to expand search criteria with html for people with multiple nicknames.

    Ex. Bob Smith, Rob Smith, Robert Smith

    I have a search on my site which will produce results for a person if you enter only one name. But what if that person goes by several names, like above. I'd like to be able to find results based on several possibilities.

    Here's the current search criteria

    Code:
    http://www.mysite.com/video?do=search&mstr=bob+smith&page=0
    Is there anyway for me to re-write this code for my links, so it finds bob smith by all his names?

    I've tried =bob+rob+robert+smith and all other variations, but I get errors

    Any help is greatly appreciated.

    Thank you

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    That would depend upon the code that carries out the search. It's not entirely clear, but to find that we would probably need to see the index page in the video folder, or at least its source code. As I say though, that might not be where the search code is. That's what we would need to see, the search function and the code that tells it what to do when it sees:

    Code:
    ?do=search&mstr=bob+smith&page=0
    in the URL.

    Is this search performed client side or server side?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •