Hi all,
I have three text boxes and I want to place a value in textbox 1 and 2,then add them together and get the result in textbox 3.With the below code I can get it to exho out onto the screen,but If I omit the echo then nothing happens after placeing numbers in T1 andT2.
Can anybbody tell me what I am doing wrong.
Kind Regards
Biggles
<html>
<head>
<title>My Page</title>
</head>
<body>
<br>
<form name="myform" action="textentry2.php" method="POST">
<input type = "submit" name = "submit" value = "go">
<input type = "text" name = "text1" >
<input type = "text" name = "text2" >
<input type = "text" name = "text3" >
<?php
$text_entry = $POST['text1'];
$text_entry2 = $POST['text2'];
$text_entry3 = $_POST['text3'];
{
$text_entry3 = ($text_entry2 + $text_entry);
echo ($text_entry3);
}
?>