![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
22/01/2010, 14:02
|
| | Fecha de Ingreso: julio-2009
Mensajes: 27
Antigüedad: 15 años, 7 meses Puntos: 2 | |
Respuesta: hacer una suma <form action="" method="post">
<input type="text" name="campo1" value="<?=$_POST['campo1'];?>"/>
<input type="text" name="campo2" value="<?=$_POST['campo2'];?>"/>
<input type="text" name="resultado" value="<?=$_POST['campo1'] + $_POST['campo2'];?>"/>
<input type="submit" name="sumar" value="sumar"/>
</form> |