Guarda questo è il cod. iniziale pagina index.asp:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
dim scelta
dim prodotto
scelta= Request.QueryString("scelta")
prodotto = Request.QueryString("prodotto")
Dim Recordset2
Dim Recordset2_numRows
dim id
Set Recordset2 = Server.CreateObject("ADODB.Recordset")
Recordset2.ActiveConnection = MM_connessione_STRING
if scelta=0 then
Recordset2.Source = "SELECT * FROM Prodotti where titoloProdotto='"&prodotto&"'"
else
Recordset2.Source = "SELECT * FROM Prodotti where idProdotto="&prodotto&""
end if
Recordset2.CursorType = 0
Recordset2.CursorLocation = 2
Recordset2.LockType = 1
Recordset2.Open()
id=(Recordset2.Fields.Item("idprodotto").Value)
Recordset2_numRows = 0
%>
<html>
<head>
<title>Documento senza titolo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="stile.css" rel="stylesheet" type="text/css">
<script>
function confezione(str) {
finestra2 = window.open(str,'confezione','scrollbars=yes,resiz able=yes,width=450,height=400,status=no,location=n o,toolbar=no');
}
function carrello(str) {
searchWin = window.open(str,'carrello','scrollbars=yes, resizable=yes, width=600,height=550');
}
</script>
</head>
---> nel sito che avevo funzionava... ??