View Single Post
  #4 (permalink)  
Old 08-17-03, 09:49 AM
Shane Shane is offline
Coding Addict
 
Join Date: Jun 2003
Location: Maryland, US
Posts: 268
Thanks: 0
Thanked 0 Times in 0 Posts
You can't put regular HTML between the ASP brackets. You have to either close them off, or do a response.write.

For example:

Code:
<%
If condition = "yes" then
%>
<form method="post" action="whatever.asp">
<!-- more html here -->

<%
Else
%>
<!-- more html here
<% 
End If
%>
__________________
Shane Bauer
Microsoft Certified Professional (MCP) - ASP.NET
ASP/ASP.net, C#, VB/VB.NET, PHP, Perl, SQL
Reply With Quote