Ver Mensaje Individual
  #6 (permalink)  
Antiguo 11/04/2011, 19:47
halisco
 
Fecha de Ingreso: enero-2005
Mensajes: 16
Antigüedad: 19 años, 3 meses
Puntos: 0
Respuesta: Problemas con el If y el else

Hola el formulario

Código HTML:
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Calcular el IVA del tota</title>
<style type="text/css">
.titulo {
	color: #06F;
	font-size: 24px;
}
</style>
</head>

<body class="titulo">
<h1 align="center">Calcular el IVA del total</h1>
<table align="center" border="2" bordercolor="#CC0000">
<tr><td>
<form action="respuesta.php" method="post">
<input type="text" name="total" max="20" maxlength="8"  /> Total
<input type="submit" value="enviar" /> 8%
</form>
</td></tr>
</table>

</body>
</html>