Results 1 to 2 of 2

Thread: Help (from a beginner)

  1. #1
    Join Date
    Nov 2005

    Help (from a beginner)

    I am trying to re-design a page for a friend's site that will allow the ordering on line of 1 or more of an item. There is only 1 item and I have a page which I want a customer to be able to input a number and when "calculate" is pressed, to go to a page which shows the total price (1x5, 2x5 etc) and then allows online ordering of that number of items. I have inherited the basic structure but it's not working, I have no skills outside of Frontpage and I can't write code. Any help to undertand the process I need to follow would be appreciated. Or can I get ready written code online?

    Thanks in advance,

    Bob Banham

  2. #2
    Join Date
    Nov 2005
    <form action="calculate.asp" method="post">
    <input type="text" name="num">
    <input type="text" name="price" value="price">
    <input type="submit">


    num = CInt(Request.Form("num"))
    price= CInt(Request.Form("price"))
    Response.Write num*price

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