Ver Mensaje Individual
  #3 (permalink)  
Antiguo 15/06/2004, 11:58
marco7661
 
Fecha de Ingreso: febrero-2004
Mensajes: 14
Antigüedad: 21 años, 1 mes
Puntos: 0
Gracias por responder
Soy un poco novato en este tema de asp y no entiendo muy bien la rutina
Si me dijeses como he de insertarlo te lo agradecería
el codigo fuente de la página es:

<%@ Language=VBScript%>
<%

Comentario2 = Request.Form("comentario")

if Comentario2 <> "" then

Set conn=Server.CreateObject("ADODB.CONNECTION")
Set RS=Server.CreateObject("ADODB.RECORDSET")

conn.open ("qusboletin")




SQL="INSERT INTO email (email) VALUES ('"&Comentario2&"');"


Conn.Execute(SQL)
Conn.Close

end if
%>
<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Pagina nueva 2</title>
</head>

<body bgcolor="#FFFEEA">



<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="462" id="AutoNumber1" height="370">
<tr>
<td width="100%" height="370" valign="top">
<p align="center"><font face="Verdana" style="font-size: 10pt"><br>
Si desea que le tengamos, puntualmente, informado y recibir nuestros boletines de
<u><b>Ofertas y Novedades</b></u>, no tiene m&aacute;s que indicarnos su e-mail y recibir&aacute; dicha informaci&oacute;n en su correo electr&oacute;nico. </font><br>
&nbsp; </p>

<FORM ACTION="boletin.asp?dado=1" METHOD="POST">
<div align="center">
<center>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="69%" id="AutoNumber2" height="120">
<tr>
<td width="100%" align="center" bgcolor="#0066CC" height="13">
<font face="Verdana" style="font-size: 8pt" color="#FFFFFF">BOLETÍN DE OFERTAS Y NOVEDADES </font></td>
</tr>
<tr>
<td width="100%" align="center" bgcolor="#E7F5FE" height="13">
<font face="Verdana" style="font-size: 8pt">Introduzca su E-mail </font></td>
</tr>
<tr>
<td width="100%" align="center" bgcolor="#B0E8FD" height="58">
<INPUT TYPE="text" NAME="comentario" size="48" maxlength=255 style="font-size: 8pt; font-family: Verdana"></td>
</tr>
<tr>
<td width="100%" align="center" bgcolor="#E7F5FE" height="31">
<font face="Verdana" size="1">
<INPUT TYPE="submit" VALUE="Enviar" style="font-family: Verdana; font-size: 10px"></font></td>
</tr>
</table>
</center>
</div>
</form>



</td>
</tr>
</table>


</body>

</html>