Page 1 of 1

How to get sum value of two textbox in third textbox

Posted: Mon Dec 16, 2013 10:48 am
by avikr2611
Hey, i m new in php, can any one tell me that How to get sum value of two textbox in third textbox using php.

Re: How to get sum value of two textbox in third textbox

Posted: Mon Dec 16, 2013 12:43 pm
by requinix
Do you actually mean using PHP? As in with a form that someone submits and you do the addition in PHP and output that value in the next page? Because most of the time when people ask this question they mean in Javascript, as in someone enters the two values and optionally hits a button that updates a value on the page, rather than having the button submit the form and "refresh" the page.

In either case, what have you tried so far and what kinds of problems are you having?