Script help - How to submit Form to .txt file and show ALL results on a new page

Discussion in 'Programming' started by brendasnz, Sep 7, 2011.

  1. #1
    I want to create a form a our website and have the data submitted to a text file (comma delimited and held online) to collate all submitted resultsand then have the text file data to show in a simple sortable table on another page.
    I had a very basic script years ago - can't remember if it was done on a php or an asp page?? - but i remember teaching it in advanced HTML classes - was simple and easy to teach/learn but now cant find anything equal to its simplicity! HELP!!!Brenda
     
    brendasnz, Sep 7, 2011 IP
  2. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #2
    Your best bet would be to put the data in a database, then use jqGrid to display it, since almost all the code is already written for you.

    You can't do sorting in HTML - HTML is content, sorting is program.
     
    Rukbat, Sep 7, 2011 IP
  3. brendasnz

    brendasnz Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks - I agree, but unfortunately it needs to be a script -The orignal (lost) one I did wasn't done in HTML - it was a form filled in either as an .asp or .php page which pushed the data from the form into a .txt file and then another page (php or asp) showed the data from the txt file as a simple very basic non formatted table with sortable columns (not so essential)
     
    brendasnz, Sep 8, 2011 IP
  4. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #4
    Rukbat, Sep 8, 2011 IP