Ver Mensaje Individual
  #1 (permalink)  
Antiguo 09/12/2012, 08:12
juanijamilena
 
Fecha de Ingreso: diciembre-2012
Mensajes: 1
Antigüedad: 11 años, 4 meses
Puntos: 0
enviar formulario we

hola, estoy aprendiendo html y php. Estoy haciendo una pagina con un formulario de contacto, pero no sé, cuando le doy al botón de "enviar" como debo hacerlo para que se me envíen los datos a algún sitio(fichero,email..etc).¿podeis ayudarme por favor?puedo hacerlo co html o tengo que hacer algo en php?

os dejo el codigo de mi formulario:

<form>
<center><table border="1" bgcolor="#C0C0C0" bordercolor="#969696">
<tr>
<th colspan="2" bgcolor="red" bordercolor="black"><h3>Por favor, rellena estos datos</h3> </th>
</tr>

<tr>
<th>Nombre:</th>
<td><input type="text"/></td>
</tr>
<tr>
<th>Apelleidos:</th>
<td><input type="text"/></td>
</tr>

<tr>
<th>E-mail:</th>
<td><input type="text"/></td>
</tr>
<tr>
<th>Tlf:</th>
<td><input type="text"/></td>
</tr>

<tr>
<tr>
<th>Asunto:</th>
<td><input type="text"/></td>
</tr>

<tr>
<th >Mensaje:</th>
<td><textarea name="comentario" rows="10" cols="20"></textarea></td>

</tr>
<tr>
<th>¿Como prefieres que nos pongamos en contacto contigo?</th>
<td>
<center><input name="tlf" type="checkbox" />Por tlf
<input name="Email" type="checkbox" />E-mail</center>


</td>
</tr>

<tr>
<td align="right">
<input type="submit" name="enviar" value="Enviar"/> </td>


<td> <input type="reset" name="borrar" value="borrar"/>
</td>
</tr>



</table></center>
</div>