ASP Script, What's wrong? -
07-15-2004
, 12:20 AM
Can anybody see what is wrong with this code, I've taken it directly from a
book called 'ASP Made Simple'
It throws up an error with the 'Else scroller' statement.
<%
a=(Weekday(Now))
scroller=""
If(a=1 or a=7)then scroller="Thank you for visiting this site. We hope you are
having a good weekend, and we can help you in your employment search."
Else scroller="This week we have many exciting opportunities on-line for IT
professionals"
End if
temp="<br><font size=2 color=#221188><marquee width=230
scrollamount=2>"+scroller+"</marquee></font>"
response.write(temp)
%> |