I need to know how to go about using an if statement to produce html. Below is a sample of what I have started but it isn't correct. I am not sure if I need to include a response.write. The else statement will create different html code. I am doing this because I don't want to have to create two html pages.
Thanks
<%Dim selection
selection=request.querystring("nationwide"
%>
<%If selection = N then
<HTML>
<HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
</HEAD>
<BODY bgcolor="#FFFFFF">
<FORM method="post" action="pubemail.asp" name="publication">
<Input name="nationwide" value=selection type="hidden">
<table cellspacing=1 cellpadding=5 width=552 border=0 align="left">
Thanks
<%Dim selection
selection=request.querystring("nationwide"
<%If selection = N then
<HTML>
<HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
</HEAD>
<BODY bgcolor="#FFFFFF">
<FORM method="post" action="pubemail.asp" name="publication">
<Input name="nationwide" value=selection type="hidden">
<table cellspacing=1 cellpadding=5 width=552 border=0 align="left">