I must be tired...i populate a dropdown from my db and hard code a
part...and if someone picks on of my subjects from the db, i want to
redirect to a certain place, if hard code, to another...i am doing something
wrong though...code is below.

if request.QueryString("who") <> "" then
do WHILE NOT rstDBEdit.EOF 
     if request.QueryString("who") = rstDBEdit("Cat_NAme") then
          response.redirect("add.asp")
     else
          response.redirect("http://www.slo-pitch.com/provinces/"; &
request.QueryString("who") & "/gallery/add.asp")
     end if 
rstDBEdit.movenext
loop
END IF

---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to