multichild
Programmer
I have this code below:
<p>
<%
'iterate thro recordset
Do while not rsuser.eof
%>
</p>
<%
response.write rsuser("event_Day") & " "
response.write rsuser("event_Date") & " "
response.write rsuser("event_Month") & " " & " "
response.write rsuser("event_Year") & " " & " "
response.write("<span class=""5thItem"">"&"- "&rsuser("event_SoldOut")&"</span>")
rsuser.movenext
Loop
'close resources used
rsuser.close
conn.close
'clean up
set rsuser=nothing
set conn=nothing
%>
Without the <p> tag the output does not work at all, but on leaving it there I get these error messages.
document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag. - <p>
</p>
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case).
I just cant seem to get around it, what ever i try
<p>
<%
'iterate thro recordset
Do while not rsuser.eof
%>
</p>
<%
response.write rsuser("event_Day") & " "
response.write rsuser("event_Date") & " "
response.write rsuser("event_Month") & " " & " "
response.write rsuser("event_Year") & " " & " "
response.write("<span class=""5thItem"">"&"- "&rsuser("event_SoldOut")&"</span>")
rsuser.movenext
Loop
'close resources used
rsuser.close
conn.close
'clean up
set rsuser=nothing
set conn=nothing
%>
Without the <p> tag the output does not work at all, but on leaving it there I get these error messages.
document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag. - <p>
</p>
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case).
I just cant seem to get around it, what ever i try