can someone help me with this
<%
text = Server.URLEncode(request.form("text"))
if Hour(time)>20 OR Hour(time)<3 then
if not request("text") = "hello" Then
response.write("The text must say <b>hello</b>")
else
response.write("They said <b>hello</b>")
end if
end if
%>
I know i am going very wrong at the start of this but a push in the right direction would be great.
I should also mention that the text box on the form will only be open at the times given so this bit of code to check only needs to be active at this time also. Hope it makes sense.
Edited by freakyfred - 25 January 2010 at 4:19pm