Hi,
I have a customer who wants to move his site from an IIS server to Apache, but still using the asp solution. First I thought it was just to copy the files and the site would be up and running. I was totally wrong
One of the first problems i have met looks like a really simple problem, but I cannot figure it out. Here's the code:
And here's the error message I get:
The line number in the error message refers to the last line in the code: response.write(filtertext)
This might be a stupid question, but I am not too experienced with asp/vbscript
Thanks in advance.
Lars
I have a customer who wants to move his site from an IIS server to Apache, but still using the asp solution. First I thought it was just to copy the files and the site would be up and running. I was totally wrong
One of the first problems i have met looks like a really simple problem, but I cannot figure it out. Here's the code:
Code:
<%
dim memsearch, filtertext
memsearch = session("memsearch")
if memsearch = "" then
filtertext = "<font class=bodytekst></font>"
else
filtertext = "<font class=bodytekst>Filter er aktivert:<br>Filter is activated:<br> <font size=3 color=red>"
filtertext = filtertext & memsearch
filtertext = filtertext & "</font><br>Click search button to clear filter</font>"
end if
response.write(filtertext)
%>
And here's the error message I get:
Error Type:
Sun ONE ASP VBScript compilation (0x800A0401)
Syntax error, unexpected "&", expecting end of statement
/medlliste.asp, line 746, column 91
The line number in the error message refers to the last line in the code: response.write(filtertext)
This might be a stupid question, but I am not too experienced with asp/vbscript
Thanks in advance.
Lars