LondonBoy
11-16-2006, 06:09 PM
Function getImage(idmod)
img=""
select case idmod
case 1
img="Mod1.gif"
case 2
img="Mod2.gif"
case 3
img="Mod3.gif"
end select
getImage=img
End Function
Suppose I got the above code, when someone chooses an image of a car, he goes to choose other options.
but before choosing other options this happens:
a href="process.asp?setm=y&variable=img&idmod=<%=rsCat("IDType")%>
how do I also send which image filename was selected in the query string? If I want to add it where the bold text is.
when I do it i get errors.
thanks
img=""
select case idmod
case 1
img="Mod1.gif"
case 2
img="Mod2.gif"
case 3
img="Mod3.gif"
end select
getImage=img
End Function
Suppose I got the above code, when someone chooses an image of a car, he goes to choose other options.
but before choosing other options this happens:
a href="process.asp?setm=y&variable=img&idmod=<%=rsCat("IDType")%>
how do I also send which image filename was selected in the query string? If I want to add it where the bold text is.
when I do it i get errors.
thanks