PDA

View Full Version : How to write an if then statment that only shows a part of the page if one senerio is


dvlnblk
06-11-2003, 07:39 PM
I have seen this many times before so I want to know if anyone can tell me how to write an if then statment that only shows a part of the page if one senerio is true. Like, for example, a page has on it a form but if the form was filled out already the same page will have the form hidden. Or even just text. Can someone help. Thanks, DVL

galvatron
06-11-2003, 09:50 PM
url : testasp

if request.querystring("this")=true then
response.write("a")
else
response.write("b")
end if


so if testasp?this=true then page will only show "a". "b" will not be shown. in other cases "b" will be shown.