...

View Full Version : Help me out, Simple newbie question



LondonBoy
11-16-2006, 07: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

degsy
11-17-2006, 03:07 PM
but before choosing other options this happens:

a href="process.asp?setm=y&variable=img&idmod=<%=rsCat("IDType")%>
Not sure what you mean


What is your current code?

LondonBoy
11-17-2006, 04:05 PM
why did I receive an infraction for this post?

Brandoe85
11-17-2006, 05:29 PM
Check your PM's, it'll explain. Check the posting guidelines:
http://www.codingforums.com/postguide.htm

Read that and then read the title of your thread.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum