Ver Mensaje Individual
  #5 (permalink)  
Antiguo 30/03/2013, 12:42
Avatar de alejandraiguini
alejandraiguini
 
Fecha de Ingreso: marzo-2013
Ubicación: Montevideo
Mensajes: 8
Antigüedad: 11 años, 1 mes
Puntos: 0
Respuesta: Problema para que un form consulte mysql y envie esa info en formato html

Yo venia usando este de esta manera:




<html>
<h1 align="center"><u>
<center><font color="#0000FF">
Solicitud de Informacion</u></h1>
<div align="center"></font>
<p><br>
A continuacion debe completar todas las casillas salvo la de comentario que es opcional.<br>
Una vez recibido el formulario le enviaremos la informacion por usted solicitada</p>
<p><br>
</p>

</div>
<form name="form1" method="post" action="procesar.php">
<table width="565" border="0" align="center">
<tr>
<td width="232">Nombre y Apellido:</td>
<td width="317"><input name="nomape" type="text" id="nomape" size="50"></td>
</tr>
<tr>
<td>Direccion:</td>
<td><label for="direccion"></label>
<input name="direccion" type="text" id="direccion" size="50"></td>
</tr>
<tr>
<td>E-mail:</td>
<td><label for="email"></label>
<input name="email" type="text" id="correo" size="50"></td>
</tr>
<tr>
<td><p>Pais:</p></td>
<td><label for="pais"></label>
<input name="pais" type="text" id="pais" size="30"></td>
</tr>
<tr>
<td>Ciudad:</td>
<td><label for="ciudad"></label>
<input name="ciudad" type="text" id="ciudad" size="30"></td>
</tr>
<tr>
<td>Telefono:</td>
<td><label for="telefono"></label>
<input name="telefono" type="text" id="telefono" size="30"></td>
</tr>
<tr>
<td>Informacion sobre:</td>
<td><label for="informacion"></label>
<select name="informacion" id="select">
<option>Casas en Alquiler</option>
<option>Casas en venta</option>
<option>Apartamentos en Venta</option>
<option>Apartamentos en alquiler</option>
<option>Otra informacion</option>
</select></td>
</tr>
<tr>
<td height="101">Comentario:</td>
<td><label for="comenta"></label>
<textarea name="comenta" cols="50" rows="6" id="comenta"></textarea></td>
</tr>
</table>
<p>
<center> <input type="submit" name="button" id="button" value="Enviar">
<input type="reset" name="button2" id="button2" value="Borrar">
</center></p>
</form>


</html>