Forum Moderators: open

Message Too Old, No Replies

error when trying to post to/from an edit page

         

tuneman202002

2:21 pm on Mar 30, 2009 (gmt 0)

10+ Year Member



I am trying to create an edit page that can update the datbase with asp injected into the html like this:

<tr>
<td>
Event:</td>
<td> <input type="text" name="event" value="<%=event%>"></td>
</tr>

but I get this error message:

Microsoft VBScript compilation error '800a03ea'

Syntax error

/duthea/admin/Productions/prodedit.asp, line 84

Response.Write(event)
---------------^

I tried changing it to this:
<tr>
<td>
Event:</td>
<td> <input type="text" name="event" value="<%=rs("event")%>"></td>
</tr>

but then I get a type mismatch

any guidance on this?

mattur

12:37 pm on Apr 2, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



"Event" is a reserved word in ASP. Try calling your variable something else.