sto provando questo script
<%
'INDIRIZZO
Dim campo
If Rec("campo")="xx" then
response.write(""[img]xx.jpg[/img]"")
Else then
If Rec("campo")="yy" then
response.write(""[img]yy.jpg[/img]"")
End If
%>
dove sto sbagliando
sto provando questo script
<%
'INDIRIZZO
Dim campo
If Rec("campo")="xx" then
response.write(""[img]xx.jpg[/img]"")
Else then
If Rec("campo")="yy" then
response.write(""[img]yy.jpg[/img]"")
End If
%>
dove sto sbagliando
ciaoOriginariamente inviato da forte78
sto provando questo script
<%
'INDIRIZZO
Dim campo
If Rec("campo")="xx" then
response.write(""[img]xx.jpg[/img]"")
Else then
If Rec("campo")="yy" then
response.write(""[img]yy.jpg[/img]"")
End If
%>
dove sto sbagliando
codice:<% If Rec("campo")="xx" then response.write(""[img]xx.jpg[/img]"") ElseIf Rec("campo")="yy" then response.write(""[img]yy.jpg[/img]"") End If %>
Jupy
mi da questo errore
Microsoft VBScript compilation error '800a03ee'
Expected ')'
/public/riservatoeditdati.asp, line 400
response.write(""[img]agenzia23.jpg[/img]"")
----------------------^
cosa devo fare
prova cosi
codice:<% If Rec("campo")="xx" then response.write("[img]xx.jpg[/img]") ElseIf Rec("campo")="yy" then response.write("[img]yy.jpg[/img]") End If %>
Jupy
Io scriverei così:
codice:<% If Rec("campo") = "xx" then response.write "[img]xx.jpg[/img]" ElseIf Rec("campo") = "yy" then response.write "[img]yy.jpg[/img]" End If %>