mi sono sbagliato la finestra pop up che ti ho appena mandato è errata questa è giusta
<%@ Language=VBScript %>
<%
if Session("autenticato")<>"OK" then
Response.Redirect("index.asp")
end if
%>
<%
Dim cod
cod=Request.Querystring("cod")
Dim SQL,objrs
sql = "SELECT * FROM immobili WHERE codice ="&cod
Set objrs = Server.CreateObject("ADODB.Recordset")
Set objrs=Cn.Execute(SQL)
%>
<html>
<head>
<title></title>
</head>
<%
Function SELECTED(PrimoValore, SecondoValore)
if PrimoValore = SecondoValore then
SELECTED = " SELECTED "
end if
end Function
%>
<body bgcolor="#000080" topmargin="2" leftmargin="2">
<div align="center">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="152">
<font face="Tahoma" color="#FFFFFF" size="2">ALTRI TELEFONI:</font>
</td>
</tr>
<tr>
<td width="152">
<font face="Tahoma" color="#FFFFFF" size="1"><%=objrs("cellulare")%></font>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
fammi sapere

Rispondi quotando