Any ideas why this isn't working?
Code:
Dim sMessage
for each field in request.form
if sMessage = "" Then
sMessage = field & " = " & request.form(field)
Else
sMessage = sMessage & (Chr(10)) & field & " = " & request.form(field)
End If
Next
response.write(sMessage)
It is not outputting anything. and no apparent errors.
Later I want the code to build an SQL INSERT string using the field names as DB column names, but I'll get to that when this bit is working!
thanks
M