data from form to .csv file to webpage help req.

Ask a Question related to ASP, Design and Development.

  1. #1

    Default data from form to .csv file to webpage help req.

    HI,
    I have set up a page with a form which appends data to a .csv file on my asp
    server, this is to enable a limited number of users to add news threads to
    this file, which contains the data in the following format
    (date,headline,article);
    "181003","news title","news article"
    "171003","older news title","news article"
    The form adds the data in reverse chronological order with newest at the top
    of the list.
    Now I wish to be able to write the contents of the csv file to a table cell,
    formatted the same as the rest of the page (if I use the include tag I get
    unformatted text and all the speach marks and no paragraph tag in between
    items).
    I am new to javascript and asp, although I do have a basic understanding of
    how they work.
    Could someone kindly explain the best way to achieve this, I'm not looking
    for someone to do my hard work for me nessacerely, if it isn't possible to
    show me the coding needed, just an explanation will help greatly.
    Many thanks in advance
    StumpY


    StumpY Guest

  2. Similar Questions and Discussions

    1. LWP - multipart/form-data file upload from scalar rather than local file
      I'm looking to do an HTTP upload, preferably with HTTP::Request::Common, but get the file data from either a filehandle or a scalar rather than...
    2. file upload form enctype="multipart/form-data
      I'm upload a file using cffile upload and that seems to work fine except I need to use enctype="multipart/form-data on the form side. This isn't a...
    3. Getting client file name from a submitted form usingmultipart/form-data
      Ive got a simple form with an type="file" -- all works fine, but what i want to do is get the extension of the file uploaded but not have to upload...
    4. adding XML meta tags to data from form to make xml file
      I have a form that labs use to submit sample data. The data needs to be stored as an XML file. I have that working. But the XML file needs meta...
    5. Required Form on webpage
      OK, I am completely new to ASP, .NET, and JAVA and would like some guiding advice. At my company the employees are required to read a safety sheet...
  3. #2

    Default Re: data from form to .csv file to webpage help req.

    Can you not store it in a database? That would be my preferred option.

    Someone else will have to help if not.......
    _________________________
    <%= TIM_STOKES %>
    "There's no place like 127.0.0.0"


    "StumpY" <me@here.com> wrote in message
    news:k7-cnSJ5hrf8KAyiU-KYiQ@giganews.com...
    > HI,
    > I have set up a page with a form which appends data to a .csv file on my
    asp
    > server, this is to enable a limited number of users to add news threads to
    > this file, which contains the data in the following format
    > (date,headline,article);
    > "181003","news title","news article"
    > "171003","older news title","news article"
    > The form adds the data in reverse chronological order with newest at the
    top
    > of the list.
    > Now I wish to be able to write the contents of the csv file to a table
    cell,
    > formatted the same as the rest of the page (if I use the include tag I get
    > unformatted text and all the speach marks and no paragraph tag in between
    > items).
    > I am new to javascript and asp, although I do have a basic understanding
    of
    > how they work.
    > Could someone kindly explain the best way to achieve this, I'm not looking
    > for someone to do my hard work for me nessacerely, if it isn't possible to
    > show me the coding needed, just an explanation will help greatly.
    > Many thanks in advance
    > StumpY
    >
    >

    Tim Stokes Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139