Potrzebuje napisac proste obliczenie matematyczne
a * b * c
Gdzie a i b sa zmiennymi
c=5zł
Wszystko za posrednictwem prostego formularza
Probowałem coś napisać sam :
CODE
<form action="oblicz.php" method="post" >
Podaj dlugosc<input type="text" name="a" size=10 maxlength="10">
Podaj Szerokosc<input type="text" name="b" size=10 maxlength="10">
Nasza Cena za (m2) <textarea name="c" cols="1" rows="1" disabled="disabled">5zł</textarea>
<input type="submit" value="Wyślij" />
<input type="reset" value="Wyczyść" />
</form>
Podaj dlugosc<input type="text" name="a" size=10 maxlength="10">
Podaj Szerokosc<input type="text" name="b" size=10 maxlength="10">
Nasza Cena za (m2) <textarea name="c" cols="1" rows="1" disabled="disabled">5zł</textarea>
<input type="submit" value="Wyślij" />
<input type="reset" value="Wyczyść" />
</form>