Simple search form input

Discussion in 'Programming' started by MelogKnaj, Nov 12, 2008.

  1. #1
    I have a simple search form, and I want to take the information the user enters and use it to send them to an offsite url based on what they entered. What's the best way to do this? Do I need a database and all that jazz?
     
    MelogKnaj, Nov 12, 2008 IP
  2. ferdousx

    ferdousx Peon

    Messages:
    168
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I don't think you don't need a database. Are u using php/asp something or its just simple html? If you use php, cant you just do some if..else check? And if you are using html only then you may try to check user input based on javascript. Tell details if you want more specific.
     
    ferdousx, Nov 12, 2008 IP
  3. MelogKnaj

    MelogKnaj Active Member

    Messages:
    233
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #3
    I am just using html/css for the page currently, but that could change if it needs to. Basically I want to take what a user enters in the search bar, and redirect it to search on ebay.com for that product. Hope that explains it.

    EDIT: Nevermind I figured this out, for anyone wondering the bottom of this page is helpful: http://www.w3schools.com/html/html_forms.asp
     
    MelogKnaj, Nov 13, 2008 IP