Ivan,
If you are doing this for something like PayPal, there is no need to. PP
and most shopping carts have a key for price and another one for
quantity. However, if it is for something else, create a form. Name one
value something like "cost" and another "quantity" Then you will need a
line like this:
<INPUT TYPE="BUTTON" STYLE="COLOR: WHITE; BACKGROUND: BLUE"
VALUE="total" onClick="this.form.Total.value = this.form.cost.value *
this.form.quantity.value">
<INPUT
TYPE="TEXT" NAME="Total">
Mike