www.webdeveloper.com
Results 1 to 4 of 4

Thread: Adding up numbers on an html page

  1. #1
    Join Date
    May 2003
    Posts
    7

    Question Adding up numbers on an html page

    The page I have to produce currently I enter in the different fees and it produces this html page. I then up load it on to the server. I would like it to consolidate the entry fees if the membership number is the same, delete the total for the second/third (however many there maybe) and consolidate them on the first line of that persons name in the total field. I have asked how to do this but have not had any success. If it would help to view the page it is Http://www.rodeoentries.net/reports/...1feesheet.html Thank you in advance for any help you can give me... TM

  2. #2
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    2,653
    I appologies for not being completely awaken,I can not make much sense what exactly is it that you need..please explain a bit more

  3. #3
    Join Date
    May 2003
    Posts
    7
    I have an html report that has a table with:
    membership number, name, event, entry fee, misc fee etc.., then a total of that row. If a member is in two or three events it totals each row nicely however, I would like it to roll the Total column up into one total if the membership number = the membership number. Then if it is rolled up the additional rows under the total that matched would be blank.
    Currrently looks like this:
    1295 First Last 3 $35.00 $2.00 $2.00 $5.00 $44.00
    1295 First Last 2 $45.00 $2.00 $2.00 $49.00
    ect..

    Would like it to look like this:
    1295 First Last 3 $35.00 $2.00 $2.00 $5.00 $93.00
    1295 First Last 2 $45.00 $2.00 $2.00

    I wanted to add code to the page to do this not do it manually. Any help is appreciated. Sorry if it was or is confusing. TM

  4. #4
    Join Date
    Jan 2003
    Location
    Atlanta, GA
    Posts
    571
    Short answer: You can't do it with HTML. You'll need server side script (cgi/asp/php) or javascript.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles