kat32
02-18-2009, 01:40 PM
i have 2 input form, first number and second number. if i will click the add button, it will multiply the two numbers. then if I input again another 2 numbers
for example: I entered 2 and 1, the computer will display 2 and 1 then the product of the 2 numbers which is 2 when I click the add button.
2*1=2
total=2
then when I input again 2 numbers 2 and 4, the computer will display, then the computer will computer the total product
2 * 1 =2
2 * 4= 8
total=10
and so on..
do I need to use cookie?
for example: I entered 2 and 1, the computer will display 2 and 1 then the product of the 2 numbers which is 2 when I click the add button.
2*1=2
total=2
then when I input again 2 numbers 2 and 4, the computer will display, then the computer will computer the total product
2 * 1 =2
2 * 4= 8
total=10
and so on..
do I need to use cookie?