<% Dim width
width = Request.QueryString("w")
If width = "" Then
Response.Write("0")
End If
If width >< "512" Then
Response.Write("512")
Else
Response.Write(width)
End If %>
what i want is, that if the variable w's value is more than 512, than the written value should be 512. eg, if the incoming value if 1000, than the written value should be 512. someone tell me what the sign is used for ASP VB for greater than and less than functions. here is the thing this is supposed to act like
Question
mildpanda
well, this one is really bugging me:
what i want is, that if the variable w's value is more than 512, than the written value should be 512. eg, if the incoming value if 1000, than the written value should be 512. someone tell me what the sign is used for ASP VB for greater than and less than functions. here is the thing this is supposed to act like
help please! :D
Edited by snukeLink to comment
Share on other sites
14 answers to this question
Recommended Posts