Saving and recalling input.

Discussion in 'HTML & Website Design' started by flamez, Jan 1, 2012.

  1. #1
    On my site, GotTold.com .. I want to be able to save the search input/link and be able to recall it later on a side bar like a live - feed. How would I go about doing this?

    e.i.

    Save input as textfile that rewrites itself
    then recall that text file?


    Here is the form code I'm using:

    <form>
            <input type="text" value="" title="Google Search" size="55" class="text">
            <br>
            <span class="button_wrapper">
              <div class="inner">
                <input type="button" value="Google Search" rel="localize[search_button]" id="search">
              </div>
            </span>
            <span class="button_wrapper">
              <div class="inner">
                <input type="button" value="I'm Feeling Lucky" rel="localize[lucky_button]" id="lucky">
              </div>
            </span>
          </form>
    Code (markup):
    Thank you for the help!
     
    Last edited: Jan 1, 2012
    flamez, Jan 1, 2012 IP
  2. cyman

    cyman Peon

    Messages:
    28
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I think this isn't something you can do just with html forms, but you should know some ajax and php (or similar web language).
     
    cyman, Jan 2, 2012 IP
  3. flamez

    flamez Active Member

    Messages:
    121
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #3

    How would I go about doing this in php? I tried, having no luck.
     
    flamez, Jan 2, 2012 IP