ASP Syntax Error (was: RE: [thelist] CSS Question - Simple)
Rob Smith
rob.smith at THERMON.com
Mon Sep 15 15:24:43 CDT 2003
Thanks for helping understand that CSS comma thing; it makes sense now.
Take a look at this:
<%
Dim strings, doohickey
doohickey = 1
strings = "<h1>" & if doohickey = 1 then response.write("Hello") &
"</h1>"
response.Write(strings)
%>
I need this to work...
However, there's a syntax error:
Syntax Error: Line 3
strings = "<h1>" & if doohickey ...
-------------------^
I thought you could do this in ASP? What would be the alternative?
Rob
More information about the thelist
mailing list