ugoMedlem sedan mars 20056 inlägg vidare från tidiare inlägg
tack för ideen men nu har jag en id = "70" och en som heter 123
kan jag inte lägga in den i samma sträng eller måste jag gör en function till den oxå, kan jag använda en else... TYP
Function getSubMenu(id, team)
If id = "70" Then
Response.Redirect("http://www.bkflagg.nu/statiskt/index.htm")
Else
If id = "123" Then
Response.Redirect("http://www.bkflagg.nu/statiskt2/index.htm")
Ugo
Jag förstår inte riktigt din fråga? Du kanske letar efter select case?
Function getSubMenu(id, team)
Select case id
case "70"
Response.Redirect("http://www.bkflagg.nu/statiskt/index.htm")
case "123"
Response.Redirect("http://www.bkflagg.nu/statiskt2/index.htm")
case "2345"
Response.Redirect("http://www.bkflagg.nu/statiskt3/index.htm")
case else
Response.write("Felaktigt id")
End Select
end Function