Hi Guys,
I have encountered this probleme when I am having a Classic ASP code that was put inside a string variable including the directives (<% %>)
Page Error:
Microsoft VBScript compilation error '800a0409'
Unterminated string constant
/signup/checkbox4.asp, line 6
&"<%= varTemp
-------------^
Below is the my Test Classic ASP, before moving to my actual ASP Coding. I hope this can be solved. Thanks in advance
<%
Dim sCheckBox
sCheckBox = sCheckBox + "<tr>" _
&"<td valign='middle'><input id='Checkbox' type='checkbox' name='Checkbox' " _
&"<%= varTemp %>/></td>" _
&"<td class='smallText'>Test Checkbox</td>" _
&"</tr>"
%>
<HTML>
<HEAD>
</HEAD>
<BODY>
<form name="frmMain" action="checkbox1.asp" method=post>
<tr><%= sCheckBox %></tr>
</form>
<P> </P>
</BODY>
</HTML