allora no passa la variabile perchè non mi stampa nulla
codice:
<%
id=request.querystring("id")
tip_UK=request.querystring("tip_UK")
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & server.MapPath("/fpdb/wire_products.mdb")
set rs=server.createobject("ADODB.Recordset")
strSQL = "select * from products where id = " & id
rs.Open strSQL, objConn
if not rs.EOF then
%>
codice:
<% if tip_UK="receiver" then
Response.write"[img]/wireless/images/top_receivers.jpg[/img]"
else
Response.write""
end if
if tip_UK="transmitter" then
Response.write"[img]/wireless/images/top_hybrids.jpg[/img]"
else
Response.write""
end if
if tip_UK="key-fob" then
Response.write"[img]/wireless/images/top_keyfobs.jpg[/img]"
else
Response.write""
end if
if tip_UK="transceiver" then
Response.write"[img]/wireless/images/top_transceivers.jpg[/img]"
else
Response.write""
end if
%>