Does vbscript support or operator?
I want to do following code in vbscript, please help me
if a="address1" or b = "address2"
then Response.Redirect("www.example.com")
endif
You were really close:
If a = "address1" Or b = "address2" Then
Response.Redirect("www.example.com")
End If
Use parentheses for readability ...
If (a = "address1") Or (b = "address2") Then
Response.Redirect("www.example.com")
End If
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With