I'm trying to make the following a variable in my global.asa.
<p>abc
<% If Request.ServerVariables("url") <> "/mobile.asp" Then %><a class="desk" href="/Photos/E.jpg"><% End If %>def<% If Request.ServerVariables("url") <> "/mobile.asp" Then %></a><% End If %>,
ghi.</p>
My syntax must be off since it's not taking. Or is there a better way of doing this? Basically, I want to include an html snippet with some asp code without resorting to an #Include file. I'm using asp classic. Thanks.