Send valuies with Form

D

Dax

Hi,
I want to create a shopping cart.
I have an asp page where I compile some fields and I want to show them
in a second asp page.

strtable = strtable & "<tr>" &_
"<td width=""51"" bgcolor=""#0488EC""><font
color=""#000000"">CODICE</font></td>" &_
"<td bgcolor=""#0488EC""><div align='center'><font
color=""#000000"">PRODOTTO</font></div></td>" &_
"<td width=""51"" bgcolor=""#0488EC""><font
color=""#000000"">QTA RICHIESTA</font></td>" &_
"</tr>"

do while not rs.EOF
strtable = strtable & "<tr>" &_
"<td bgcolor='#D0F1FF'><div align='center'><font
color=""#000000"">" & rs(0) & "</font></div></td>" &_
"<td bgcolor='#D0F1FF'><div align='left'><font
color=""#000000"">" & rs(1) & "</font></div></td>" &_
"<td bgcolor='#D0F1FF'><div align='center'>" &_
"<font color=""#000000""><input type='text' name=" & rs(0) & "
size='5' maxlength='4'></div></td>" &_
"</font></tr>"


rs.MoveNext
loop
strtable = strtable & "</table>"
rs.close
conn.close

<form name="Form1" id="form1" method="post" >
<div align="center">
</div>
<%=strtable%>
<table width="80%" align="center">
<tr>
<td background="#E0DFD1" bgcolor="#0488EC">
<div align="center">
<input type="button" onClick="JavaScript:invia(this.form)"
value="Invia Ordine" name="button2">
</div>
</td>
</tr>
</table>
</form>

Thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top