Ver Mensaje Individual
  #7 (permalink)  
Antiguo 04/08/2008, 19:06
Avatar de chwc
chwc
 
Fecha de Ingreso: julio-2008
Ubicación: Buenos Aires ! :D
Mensajes: 814
Antigüedad: 15 años, 9 meses
Puntos: 103
Respuesta: php dinamico, una dudita

ehhhh, yo se hacerlo pero va a otra pagina
formulario.php
Cita:
<html>
<head>
<title>Problema</title>
</head>
<body>

<form action="cuenta.php" method="post">
Ingrese primer valor:
<input type="text" name="valor1">
<br>

<input type="submit" name="operar">
</form>

</body>
</html>
cuenta.php
Cita:
<html>
<head>
<title>Problema</title>
</head>
<body>

<?php
$dato=$_REQUEST['valor1'] * 5;
echo "El total es ".$dato;

?>


</body>
</html>
lo he probado asi que funciona