K kafu New member Jun 14, 2009 #1 ...those values in same pag?how? I want to input values in text box and display those values in the same page after doing some arithmetic . Can I do this in HTML?? what is the simplest way to do this??
...those values in same pag?how? I want to input values in text box and display those values in the same page after doing some arithmetic . Can I do this in HTML?? what is the simplest way to do this??
D Dude New member Jun 14, 2009 #2 no u need php example: NEED PHP ON SERVER lolmath.php <html> <body> <?php $h=$__POST['value'] * 7 + 5 / 2; print $h . 'is ur number!'; > <form action='lolmath.php' method='post'> <input type=text name='value' /> <input type=submit /> </form> </body>
no u need php example: NEED PHP ON SERVER lolmath.php <html> <body> <?php $h=$__POST['value'] * 7 + 5 / 2; print $h . 'is ur number!'; > <form action='lolmath.php' method='post'> <input type=text name='value' /> <input type=submit /> </form> </body>