Hallo.
Schreibe anstelle von
if($_REQUEST["addition"]){
...
if (isset($_POST['addition'])){
...
Wieso willst du das Ergebnis in einem Textfeld ausgeben?
Das könnte etwas so aussehen:
<input type="text" name="ergebnis" value="<php if (!empty($ergebnis)) {echo htmlspecialchars($ergebnis);}?>"
Beachte: Daten _niemals_ ungefiltert aus einem Formular übernehmen!
MfG, Kungschu.
--
The computer is not willing? The bug is well hidden? The release is tomorrow?
The computer is not willing? The bug is well hidden? The release is tomorrow?